aboutsummaryrefslogtreecommitdiff
path: root/book/src/generated/lang-support.md
Commit message (Collapse)AuthorAge
...
* add tree-sitter-embedded-template (erb & ejs) (#2055)Michael Davis2022-04-09
| | | | | | | | | | After the incremental parsing rewrite for injections (which was released in 22.03 https://helix-editor.com/news/release-22-03-highlights/#incremental-injection-parsing-rewrite), we can now do combined injections which lets us pull in some templating grammars. The most notable of those is embedded-template - a pretty straightforward grammar that covers ERB and EJS. The grammar and highlights queries are shared between the two but they have different injections.
* Add default language server for Vue (#2043)Kurenshe Nurdaulet2022-04-09
|
* Add language server command for OCaml (#2035)unrelentingtech2022-04-08
|
* Add swift language (#2033)Aaron Housh2022-04-08
|
* PHP roots and languageserver improvements (#2031)Karl Grasegger2022-04-08
| | | Co-authored-by: Karl Grasegger <karl.grasegger@gebruederheitz.de>
* Add default language server for CSS (#2025)David2022-04-08
|
* Add default language server for JSON (#2024)David2022-04-08
|
* Add default language server for HTML (#2018)David2022-04-08
|
* add languages `r` and `rmarkdown` (#1998)Matthew Toohey2022-04-08
| | | | | | | | | | | * add languages `r` and `rmarkdown` * r: fix highlights * rmarkdown: add eof in queries * rmarkdown: update lang-support.md * r: fix highlight query precedence
* add language `ron` (#1925)VuiMuich2022-04-05
|
* Add texlab language server for latex (#1922)Lauri Gustafsson2022-04-02
|
* separate JSX queries from javascript (#1921)Michael Davis2022-04-02
| | | | | | | | | | | | | | | It looks like a24fb17b2a978d3165bd6304e9edd69bddb6dd82 (and 855e438f55cb278de8203ac4911561c4c7ad656c) broke the typescript highlights because typescript ; inherits: javascript but it doesn't have those named nodes in its grammar. So instead we can separate out JSX into its own language and copy over everything from javascript and supplement it with the new JSX highlights. Luckily there isn't too much duplication, just the language configuration parts - we can re-use the parser with the languages.toml `grammar` key and most of the queries with `inherits`.
* add tree-sitter-gleamMichael Davis2022-03-30
|
* update tree-sitter-erlangMichael Davis2022-03-30
| | | | | | | | | changes: - typed fields within records which do not declare a default value are now correctly highlighted as record fields - the EEP49 'maybe' form is now parsed - fixes for highlights for 'begin' and 'after' tokens
* Add syntax highlighting for Solidity (#1854)Slin Lee2022-03-22
|
* Add LSP support for Solidity (#1848)Slin Lee2022-03-22
| | | | | | | | | * Add LSP support for Solidity This requires a recent version of Solidity 0.8.11+ * Add Solidity to docs * Update the docs
* Initial basic Org markup support thanks to tree-sitter-org (#1845)zetashift2022-03-20
|
* Add csharp lsp support (#1788)Aaron Housh2022-03-12
| | | | | | | * add csharp lsp support * remove hostPID * update docs
* Add terraform lsp support (#1726)Michael Daffin2022-03-01
| | | Using terraform-ls and enables auto-formate support. Also adds tfvars as an extra filetype.
* Add support for HCL language (#1705)Michael Daffin2022-02-25
| | | Queries based on the neovims ones: https://github.com/nvim-treesitter/nvim-treesitter/tree/master/queries/hcl and modified for helix support.
* Add kotlin language (#1689)Michael Daffin2022-02-23
| | | | | | | | | | | | | | | | | | | | | * Add kotlin language Queries taken from https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/kotlin seem to work well enough for my needs though I don't use kotlin heavily. * Update lang-support doc * Updates the kotlin highlight query to use helixs scopes * Updates the queries from PR feedback * Adds 'shallow = true' to gitmodules * Removes kotlin locals.scm * Remove blank line Co-authored-by: Ivan Tham <pickfire@riseup.net> Co-authored-by: Ivan Tham <pickfire@riseup.net>
* add tree-sitter-erlang (#1657)Michael Davis2022-02-15
|
* feat(languages): rescript (#1616)Jared Ramirez2022-02-06
| | | | | | | | | | | * Add rescript language support * cargo xtask docgen * Add textobjects & file line ending * Fix text objects & rerun docgen * Fix textobjects queries
* epocsquadron/add tree sitter twig (#1602)Daniel S Poulin2022-02-01
| | | | | | | | * Add tree-sitter-twig grammer and highlights The gammar itself is quite basic, but is much better than nothing for working with real files consisting mostly of html. * Docgen for newly added grammar
* Add textobjects queries for php (#1601)Daniel S Poulin2022-01-30
| | | | | | | * Add textobjects queries for php * Missing EOL fix * Update generated docs after adding textobjects to php
* add tree-sitter-iex (#1576)Michael Davis2022-01-25
| | | | | | | * add tree-sitter-iex * run docgen task * fix url for iex submodule
* Add haskell-language-server-wrapper --lsp to default `languages.toml` (#1556)Kyra2022-01-23
| | | | | After the changes to upgrade and reenable tree-sitter-haskell #1417 for the purpose of enabling Haskell syntax highlighting #1384, we might as well take the final step.
* feat(languages): GraphQL (#1515)Jared Ramirez2022-01-21
| | | | | | | | | | | * Add Graphql language support * Fix docs gen * Add JS Graphql injection query * Updates based on PR feedback Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* feat(languages): Elm (#1514)Jared Ramirez2022-01-20
| | | | | | | * Add Elm language support * Fix docs gen * Updates based on PR feedback
* feat(languages): Lean experimental tree-sitter-lean (#1422)Anders Christiansen Sørby2022-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add experimental tree-sitter-lean * Run docgen * Copy over the queries from lean.nvim * Update .gitmodules Co-authored-by: Ivan Tham <pickfire@riseup.net> * Update lean highlights and run docgen * Update runtime/queries/lean/injections.scm Co-authored-by: Michael Davis <michael.davis@nfiindustries.com> * Lean: Move variable matcher to bottom * Update runtime/queries/lean/locals.scm Co-authored-by: Michael Davis <michael.davis@nfiindustries.com> Co-authored-by: Ivan Tham <pickfire@riseup.net> Co-authored-by: Michael Davis <michael.davis@nfiindustries.com>
* Re-enable haskell in languages.toml (#1520)Kirawi2022-01-16
|
* add tree-sitter-git-config (#1426)Michael Davis2022-01-09
| | | | | * add tree-sitter-git-config * add todo comment for improving filetype check
* feat: add tree-sitter-makeEric Crosson2022-01-08
| | | | | | | | This commit adds syntax highlighting for GNU Make[^1] makefiles via tree-sitter-make[^2]. [^1]: https://www.gnu.org/software/make/ [^2]: https://github.com/alemuller/tree-sitter-make
* Add default language server for JavaScript (#1457)Kevin Sjöberg2022-01-08
| | | | | * Add default language server for JavaScript * Update lang support documentation
* add tree-sitter-regex (#1362)Michael Davis2022-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | * add tree-sitter-regex * adapt regex highlights from upstream * inject regex into elixir sigil_r/2 and sigil_R/2 * generate lang-support docs * capture interesting nodes in character-ranges * make $.character_class captures more consistent * fix fallthrough behavior for character classes * capture pattern characters as 'string' * use latest tree-sitter-regex * set elixir regex injections as combined * add link to upstream queries * inject regex in rust into 'Regex::new' raw string literals
* Add textobjects and indents to c and cpp (#1293)Sebastian Neubauer2022-01-04
| | | | | | | | | | Indentation of single line statements doesn't work, i.e. for (;;)<hit enter> leads to for(;;) <cursor here> Only blocks with curly braces are indented.
* Add llvm-mir highlighting (#1398)Sebastian Neubauer2022-01-04
| | | | | | | | | | | | | | | | | * Add injection regex for more languages To support embedding them in other languages like markdown. * Add llvm-mir highlighting LLVM Machine IR is dumped as yaml files that can embed LLVM IR and Machine IR. To support this, add a llvm-mir-yaml language that uses the yaml parser, but uses different injections to highlight IR and MIR. * Update submodule with fixed multiline comments Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add LLVM TableGen highlighting (#1409)Sebastian Neubauer2022-01-03
| | | | | | | Add a tree-sitter grammar and highlights for TableGen files. TableGen and its grammar are described here: https://llvm.org/docs/TableGen/index.html Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* add tree-sitter-git-rebase (#1402)Michael Davis2021-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | * add submodule on tree-sitter-rebase, add to languages * add basic highlights query * inject bash in execute statements * update tree-sitter-rebase * tree-sitter-rebase->tree-sitter-git-rebase * get injection working with tree-sitter-git-commit * set scope under source.gitrebase * unset include-children on commit message injections * Revert "unset include-children on commit message injections" This reverts commit 2ecee155ea8e229651920b291062c2ee84b47944. * fix generated language docs * use rebase_command scopes from tree-sitter-git-commit
* Add tree-sitter-git-diff (#1373)Michael Davis2021-12-29
| | | | | | | | | | | | | | | | | | | | | | * add submodule on tree-sitter-git-diff * add git-diff highlights * inject git-diff into git-commit * update tree-sitter-git-commit with fix for bad diff case * add git-diff to language support docs * include-children in diff injections This ensures that children nodes of $.message are included in the injection, such as $.user or issue/pr numbers. Without this change, diffs containing '#' or '@' characters can trip up the injection and be parsed separately. See https://github.com/helix-editor/helix/pull/1373#issuecomment-1001215629 * set diff language's scope as source.diff
* Improve llvm highlighting and queries (#1388)Sebastian Neubauer2021-12-29
| | | | | | | | * Improve llvm highlighting and queries The llvm tree-sitter parser was updated to support scopes and more accurate highlighting. * Group highlight expressions better
* Add ruby indents (#1372)Stuart Hinson2021-12-27
| | | | | * Add ruby indents * Include ruby in generated docs
* tree-sitter-gitcommit->tree-sitter-git-commitMichael Davis2021-12-25
|
* add gitcommit grammar and language configurationMichael Davis2021-12-25
|
* Add textobjects and indents to cmake (#1307)Sebastian Neubauer2021-12-25
|
* Support dockerfiles (#1303)Midnight Exigent2021-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow language.config (in languages.toml) to be passed in as a toml object * Change config field for languages from json string to toml object * remove indents on languages.toml config * fix: remove patch version from serde_json import in helix-core * Use same tree-sitter-zig as upstream/master * fix(completion_popup): Fixes #1256 * Update helix-term/src/ui/completion.rs * feat(languages): Add support for `Dockerfile`s * docs(cargo-xtask-docgen): * improvement(langs-dockerfile): Add `injection-regex` to `languages.toml` for `Dockerfile` * improvement(langs-dockerfile): Add injections.scm * Update .gitmodules Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add fish highlighting (#1308)Sebastian Neubauer2021-12-21
| | | | The highlights were copied and modified from https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/fish/highlights.scm
* Add tree-sitter-comment (#1300)Michael Davis2021-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | * Add tree-sitter-comment Fix #1164 * fix precedence in tree-sitter-comment highlights connects https://github.com/helix-editor/helix/pull/1170 * set injection-regex for comment language * remove comment filetype * fix comment injections for neovim-style injections tags * add comment injections for elixir * remove f.comment * fix spacing in .gitmodules * run 'cargo xtask docgen' Co-authored-by: Ivan Tham <pickfire@riseup.net>
* cargo xtask docgenBlaž Hrastnik2021-12-18
|
* Add scala syntax highlights (#1278)Oliver Hechtl2021-12-18
| | | | | | | | | | | | | * add partial scala syntax highlights * ran cargo xtask docgen * updated tree-sitter-scala, fixed highlights * fix comments * move identifier to the end of the highlights * add indents