aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/elixir/highlights.scm
Commit message (Collapse)AuthorAge
* remove error highlighting for tree-sitter-elixirMichael Davis2022-04-13
| | | | | | | | | This will become more important with the HEEx grammar being added. Error highlighting with the Elixir grammar is a bit jumpy because in some scenarios, a bit of missing syntax can force tree-sitter to give up on error recovery and mark the entire tree as an error. This ends up looking bad when editing. We don't typically highlight error nodes so I'm inclined to leave it out of the highlights here.
* 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
* 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