aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/elixir
Commit message (Collapse)AuthorAge
* 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
* 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 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>
* Updated tree-sitter query scopes (#896)Kirawi2021-11-03
| | | | | | | | | | | | | | | | | | * updated theme scopes variable.property -> variable.field property -> variable.field * updated theme scopes * update book and themes updated book and themes to reflect scope changes * wip * update more queries * update dark_plus.toml
* fix: string.regex{=>p}Michael Davis2021-10-27
|
* use punctuation.special for interpolation #{ }Michael Davis2021-10-27
|
* scope arities in captures as operatorsMichael Davis2021-10-17
|
* use special.string.symbol instead of symbolMichael Davis2021-10-17
| | | | this aligns better with how ruby highlights symbols
* use latest tree-sitter-elixir with 'not in' query supportMichael Davis2021-10-17
| | | | connects https://github.com/elixir-lang/tree-sitter-elixir/issues/9
* align highlight scopes with documented scopesMichael Davis2021-10-17
|
* highlight calls to erlang modules as typesMichael Davis2021-10-17
| | | | connects https://github.com/elixir-lang/tree-sitter-elixir/pull/5
* add LICENSE snippet at elixir hightlights topMichael Davis2021-10-17
|
* use the warning type for tree-sitter ERRORsMichael Davis2021-10-17
|
* describe atoms as tagsMichael Davis2021-10-17
|
* add highlights query from elixir-lang/tree-sitter-elixirMichael Davis2021-10-17
|
* Updated elixir queries to fix crashCorey Powell2021-06-08
|
* Added elixir syntaxCorey Powell2021-06-02
Using custom fork for now to get around generating the source files