on master help sign in
update tree-sitter-elixir
1819478Michael Davis
languages.toml+3−3
@@ -78,8 +78,8 @@ source = { git = "https://github.com/yusdacra/tree-sitter-protobuf", rev = "19c2
78[[language]]
78[[language]]
79name = "elixir"
79name = "elixir"
80scope = "source.elixir"
80scope = "source.elixir"
81−injection-regex = "elixir"
81+injection-regex = "(elixir|ex)"
82−file-types = ["ex", "exs"]
82+file-types = ["ex", "exs", "mix.lock"]
83shebangs = ["elixir"]
83shebangs = ["elixir"]
84roots = []
84roots = []
85comment-token = "#"
85comment-token = "#"
@@ -88,7 +88,7 @@ indent = { tab-width = 2, unit = " " }
88
88
89[[grammar]]
89[[grammar]]
90name = "elixir"
90name = "elixir"
91−source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "f5d7bda543da788bd507b05bd722627dde66c9ec" }
91+source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "60863fc6e27d60cf4b1917499ed2259f92c7800e" }
92
92
93[[language]]
93[[language]]
94name = "fish"
94name = "fish"
runtime/queries/elixir/highlights.scm+2−2
@@ -82,11 +82,11 @@
82(integer) @constant.numeric.integer
82(integer) @constant.numeric.integer
83(float) @constant.numeric.float
83(float) @constant.numeric.float
84
84
85−(alias) @type
85+(alias) @namespace
86
86
87(call
87(call
88 target: (dot
88 target: (dot
89− left: (atom) @type))
89+ left: (atom) @namespace))
90
90
91(char) @constant.character
91(char) @constant.character
92
92