aboutsummaryrefslogtreecommitdiff
path: root/book/src/generated
Commit message (Collapse)AuthorAge
* Adds support for multiple language servers per language.Philipp Mildenberger2023-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Language Servers are now configured in a separate table in `languages.toml`: ```toml [langauge-server.mylang-lsp] command = "mylang-lsp" args = ["--stdio"] config = { provideFormatter = true } [language-server.efm-lsp-prettier] command = "efm-langserver" [language-server.efm-lsp-prettier.config] documentFormatting = true languages = { typescript = [ { formatCommand ="prettier --stdin-filepath ${INPUT}", formatStdin = true } ] } ``` The language server for a language is configured like this (`typescript-language-server` is configured by default): ```toml [[language]] name = "typescript" language-servers = [ { name = "efm-lsp-prettier", only-features = [ "format" ] }, "typescript-language-server" ] ``` or equivalent: ```toml [[language]] name = "typescript" language-servers = [ { name = "typescript-language-server", except-features = [ "format" ] }, "efm-lsp-prettier" ] ``` Each requested LSP feature is priorized in the order of the `language-servers` array. For example the first `goto-definition` supported language server (in this case `typescript-language-server`) will be taken for the relevant LSP request (command `goto_definition`). If no `except-features` or `only-features` is given all features for the language server are enabled, as long as the language server supports these. If it doesn't the next language server which supports the feature is tried. The list of supported features are: - `format` - `goto-definition` - `goto-declaration` - `goto-type-definition` - `goto-reference` - `goto-implementation` - `signature-help` - `hover` - `document-highlight` - `completion` - `code-action` - `workspace-command` - `document-symbols` - `workspace-symbols` - `diagnostics` - `rename-symbol` - `inlay-hints` Another side-effect/difference that comes with this PR, is that only one language server instance is started if different languages use the same language server.
* Add wbc and wbc! commands (#6947)Kitsu2023-05-09
|
* Remove `tree-sitter-cabal` (#6996)Ollie Charles2023-05-09
|
* Add language server command for Crystal (#6948)taupiqueur2023-05-03
|
* feat(commands): add clear-register typable command (#5695)jorge2023-04-27
| | | Co-authored-by: Jorge <chorcheus@tutanota.com>
* Change Odin grammar to `ap29600/tree-sitter-odin` (#6766)ap296002023-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Change Odin grammar to `ap29600/tree-sitter-odin` The previously adopted grammar, `MineBill/tree-sitter-odin`, is unmaintained and mentions my repository as an alternative source. * update queries * docgen * fix queries * Update runtime/queries/odin/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * remove `ERROR` query for `odin` * track the latest rev in `ap29600/tree-sitter-odin` * runtime/queries/odin/highlights.scm: update rune highlight class Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Set PerlNavigator as the language server for Perl (#6860)Wesley2023-04-26
|
* make `:u` alias `:update` (#6835)Atticus Sebastiani2023-04-23
| | | | | | | * Gave the command update the alias u * Re added trailing newline * generated docs
* Add standalone language support for `just` (#6453)VuiMuich2023-04-14
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add DTD language support (#6644)Michael2023-04-12
| | | | - Added syntax highlighting for the DTD subset of the XML spec. - Included .dtd and .ent as common file extensions
* Add OpenCL tree-sitter and LSP config (#6473)lefp2023-04-12
|
* feat(languages): Support markdoc (#6432)Matouš Dzivjak2023-04-12
| | | | | | Add basic support for [markdoc](https://markdoc.dev/). For language server, see: https://github.com/markdoc-extra/markdoc-ls For tree sitter, see: https://github.com/markdoc-extra/tree-sitter-markdoc
* Initial Cabal language support (#6485)Ollie Charles2023-04-12
|
* Add support for Robot Framework files (#6611)karei2023-04-07
| | | | | * Add support for Robot Framework files * Run docgen
* Add textobject queries for Julia (#6588)Clara Hobbs2023-04-06
| | | | | * Add textobjects queries for Julia * Update docs for Julia textobject queries
* Add Hurl Support (#6450)Erasin Wang2023-04-06
| | | | | | | | | * Add http Support It's like [vscode-restclient](https://github.com/Huachao/vscode-restclient) - https://github.com/erasin/tree-sitter-http/tree/main/tests * Add Hurl Support
* Add indents.scm for Julia (#6490)Clara Hobbs2023-03-31
| | | | | * Add indents.scm for Julia * Update documentation for new indent support
* add workspace config and manual LSP root managementPascal Kuthe2023-03-29
| | | | | | | | | | fixup documentation Co-authored-by: LeoniePhiline <22329650+LeoniePhiline@users.noreply.github.com> fixup typo Co-authored-by: LeoniePhiline <22329650+LeoniePhiline@users.noreply.github.com>
* Update tree-sitter-git-commit, add comment textobject (#6439)Michael Davis2023-03-27
| | | | | | | The update includes a fix for comments in commit messages where there was no space separating the '#' and the comment text. The comment textobject can be useful occasionally to jump to the summary part of the commit edit message.
* Initial Nim language support (#6123)JJ2023-03-26
|
* Add language support for rego (OpenPolicyAgent) (#6415)Juan C. Müller2023-03-26
|
* Add vhdl language support (#5826)Tom Burdick2023-03-25
| | | | | | | Simple highlight query file with keywords and builtin types matching. Many VHDL types however are defined in std libraries which do not currently get matched on. This is because the grammar doesn't consider them builtin types.
* Add initial Smithy support (#6370)zetashift2023-03-21
|
* Add language support for Cap’n Proto format (#6325)angelodlfrtr2023-03-18
|
* Improve tree-sitter queries for vlang (#6279)Erasin Wang2023-03-15
| | | | | | - Update hightlight - add indents - add textobject - add injections
* Add command for resetting diff hunks (#5736)Pascal Kuthe2023-03-08
|
* Allow LSP server to be stopped (#5964)Davide Galassi2023-03-08
|
* Add support for reStructuredText (#6180)Roberto Vidal2023-03-05
|
* feat(prql): add prql support (#6126)Matthias Q2023-03-03
|
* Add elm treesitter textobjects (#6084)Mathieu Agopian2023-02-25
|
* feat: add nasm language (#6068)Matthew Toohey2023-02-25
|
* Add language support for sway (#6023)Sophie Dankel2023-02-25
|
* Add GNU gettext PO grammar (#5996)Erasin2023-02-20
|
* Added yuck language support (for eww) (#6064)Philipp Mildenberger2023-02-20
|
* Add support for the uxntal language (#6047)Jummit2023-02-19
|
* feat: show current language when no argument is provided (#5895)Guillaume2023-02-16
|
* Add :toggle-option command (#4085)A-Walrus2023-02-13
| | | This command toggles the value of boolean options
* Update grammar for godot (#5944)Erasin2023-02-12
| | | | | | * update grammar for gdscript. * add comment injections for gdscript. * add indent for gdscript * add file-type support for godot-resource
* Added tree-sitter-hosts (#4950)ath32023-02-10
|
* Add tree-sitter-passwd (#4959)ath32023-02-10
|
* feat: add pem language (#5797)Matthew Toohey2023-02-07
|
* Add :character-info command (#4000)William Etheredge2023-02-03
|
* Add MSBuild language based on XML grammar (#5793)Brett Lyons2023-02-03
|
* Change default language server for 'v' from 'vls' to 'v ls' (#5677)Antonius Naumann2023-01-25
|
* Support sagemath language (#5649)Eloi Torrents2023-01-23
|
* Language support for dhallClément Delafargue2023-01-13
| | | | https://dhall-lang.org/
* Add language support for ponylang (#5416)Matthias Wahl2023-01-11
| | | See https://www.ponylang.io
* Use tree-sitter-ruby for crystal (#5205)Michael Davis2023-01-08
|
* Add runtime queries for `tfvars` (based on `hcl`) (#5396)Dom H2023-01-06
|
* Add support for MATLAB/Octave files (#5192)g-s-k2022-12-17
|