aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
Commit message (Collapse)AuthorAge
...
* feat(lang): Update nickel to include "rec" keyword (#2320)Erin van der Veen2022-04-29
|
* feat(lsp): add toml lsp (#2302)Alexis Kalabura2022-04-27
|
* feat(lang): add hare language support (#2289)meak2022-04-26
| | | Co-authored-by: Mehdi Katranji <hello@mek.yt>
* feat(lsp): add vala language support (#2243)ttys32022-04-24
|
* fix(lsp): divide hcl into seperate languages (#2244)Lukas2022-04-23
|
* feat(lsp): add yaml lsp (#2234)Lukas2022-04-23
|
* feat(lang): add nushell language support (#2225)Justin Ma2022-04-22
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* feat(lang): add go.mod and go.work support (#2197)ttys32022-04-20
|
* chore(filetype): bash and hcl file type add more common used extensions or ↵ttys32022-04-20
| | | | files (#2201)
* Add Nickel language (#2173)Erin van der Veen2022-04-20
|
* Ruby TextObjects and more file extensions (#2143)Danillo Melo2022-04-18
|
* Update tree-sitters Erlang and HEEx (#2149)Michael Davis2022-04-17
|
* Add make file-type "mk" to languages.toml (#2120)Evan Lecklider2022-04-15
|
* gdscript support (#1985)EmmChriss2022-04-15
|
* feat(languages): SQL (#2097)Jared Ramirez2022-04-14
|
* add tree-sitter-heexMichael Davis2022-04-13
| | | | | | | | | | | | | HEEx is a templating engine on top of Elixir's EEx templating language specific to HTML that is included in Phoenix.LiveView (though I think the plan is to eventually include it in base Phoenix). It's a superset of EEx with some additional features like components and slots. The injections don't work perfectly because the Elixir grammar is newline sensitive (the _terminator rule). See https://github.com/elixir-lang/tree-sitter-elixir/issues/24 for more information.
* add tree-sitter-eexMichael Davis2022-04-13
| | | | | | EEx is an templating language for Elixir. Since the incremental parsing refactor we can used combined injections which allows us to add EEx support.
* update tree-sitter-elixirMichael Davis2022-04-13
| | | | | | | | | | | | | | The new revision handles a case that I come across often: a stab clause (i.e. '->') with an empty right hand side: Enum.map(xs, fn x -> end) The old version would parse the "end" token as an error. This is technically valid syntax but more importantly it comes up very often when editing, and the old revision would flicker between the keyword highlight and the warning highlight.
* Rewrite Language Support docs (#2065)Michael Davis2022-04-10
|
* 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`.
* Update bash tree sitter (#1917)joezak112022-04-01
|
* Add JSX highlighting queriesBlaž Hrastnik2022-04-01
|
* Add support for jsx (#1906)Amine Hmida2022-04-01
| | | | | * Add support for javascriptreact language * Add support for jsx files
* add tree-sitter-gleamMichael Davis2022-03-30
|
* update tree-sitter-elixirMichael Davis2022-03-30
| | | | | | | | | | | | | | | | | | news: - tree-sitter-elixir now powers Elixir syntax highlighting on github.com - GitHub now supports code-navigation for Elixir repos via tree-sitter-elixir changes: - modules now use the `@module` highlight, which was added upstream to tree-sitter - it seems appropriate to use `@namespace` to follow helix convention - added nullary range operator (e.g. `Enum.to_list(..) == []`), a new syntax for elixir 1.14 - a fix for stab clause nodes mis-highlighting when the right hand side of the stab clause contained multiple simple expressions
* 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
|
* update tree-sitter-git-commit (#1838)Michael Davis2022-03-19
| | | | | | | changes: - any text following a (scissors) is now contained in one (message) - this vastly improves performance on large verbose commits: no more slowness on huge commits
* simplify Julia config (#1811)ChrHorn2022-03-15
| | | | | * simplify Julia config * remove trailing whitespace
* Add csharp lsp support (#1788)Aaron Housh2022-03-12
| | | | | | | * add csharp lsp support * remove hostPID * update docs
* update revision for tree-sitter-rescriptMichael Davis2022-03-10
| | | | | Looks like this was rebased a few hours ago and now the 789a171 revision no longer exists.
* flake: use builtins.fetchTree to shallow-clone grammar reposMichael Davis2022-03-10
| | | | | | | | | | | Here we perform a shallow fetch using builtins.fetchTree. In order to make this work, we need to specify the `ref' for any repository that doesn't have `master' as its default branch (I'm not sure why this limitation exists since we don't need this when performing the shallow fetch in `--grammar build') This `ref' field is ignored by helix, so I have left it undocumented for now, but I could be open to documenting it.
* migrate grammar fetching/building code into helix-loader crateMichael Davis2022-03-10
| | | | | | | | | This is a rather large refactor that moves most of the code for loading, fetching, and building grammars into a new helix-loader module. This works well with the [[grammars]] syntax for languages.toml defined earlier: we only have to depend on the types for GrammarConfiguration in helix-loader and can leave all the [[language]] entries for helix-core.
* add tree-sitter sources to languages.tomlMichael Davis2022-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | Here we add syntax to the languages.toml languge [[grammar]] name = "<name>" source = { .. } Which can be used to specify a tree-sitter grammar separately of the language that defines it, and we make this distinction for two reasons: * In later commits, we will separate this code from helix-core and bring it to a new helix-loader crate. Using separate schemas for language and grammar configurations allows for a nice divide between the types needed to be declared in helix-loader and in helix-core/syntax * Two different languages may use the same grammar. This is currently the case with llvm-mir-yaml and yaml. We could accomplish a config that works for this with just `[[languages]]`, but it gets a bit dicey with languages depending on one another. If you enable llvm-mir-yaml and disable yaml, does helix still need to fetch and build tree-sitter-yaml? It could be a matter of interpretation.
* 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.
* Configurable auto pairs (#1624)Skyler Hawthorne2022-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * impl auto pairs config Implements configuration for which pairs of tokens get auto completed. In order to help with this, the logic for when *not* to auto complete has been generalized from a specific hardcoded list of characters to simply testing if the next/prev char is alphanumeric. It is possible to configure a global list of pairs as well as at the language level. The language config will take precedence over the global config. * rename AutoPair -> Pair * clean up insert_char command * remove Rc * remove some explicit cloning with another impl * fix lint * review comments * global auto-pairs = false takes precedence over language settings * make clippy happy * print out editor config on startup * move auto pairs accessor into Document * rearrange auto pair doc comment * use pattern in Froms