aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorMichael Davis2022-03-02 15:09:45 +0000
committerBlaž Hrastnik2022-03-30 04:24:53 +0000
commit18194789407c23d4076e8f3f54ad493d93fac258 (patch)
treef25c42b09ddae5c586aa288863910229c7cbdd1b /runtime/queries
parente2a50711d5ca1029b28b1ddaeb3b2989ade7d651 (diff)
update tree-sitter-elixir
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
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/elixir/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/elixir/highlights.scm b/runtime/queries/elixir/highlights.scm
index 76fd2af9..4cfc0c24 100644
--- a/runtime/queries/elixir/highlights.scm
+++ b/runtime/queries/elixir/highlights.scm
@@ -82,11 +82,11 @@
(integer) @constant.numeric.integer
(float) @constant.numeric.float
-(alias) @type
+(alias) @namespace
(call
target: (dot
- left: (atom) @type))
+ left: (atom) @namespace))
(char) @constant.character