diff options
-rw-r--r-- | languages.toml | 6 | ||||
-rw-r--r-- | runtime/queries/elixir/highlights.scm | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/languages.toml b/languages.toml index 9c1a4334..ce51e4fc 100644 --- a/languages.toml +++ b/languages.toml @@ -78,8 +78,8 @@ source = { git = "https://github.com/yusdacra/tree-sitter-protobuf", rev = "19c2 [[language]] name = "elixir" scope = "source.elixir" -injection-regex = "elixir" -file-types = ["ex", "exs"] +injection-regex = "(elixir|ex)" +file-types = ["ex", "exs", "mix.lock"] shebangs = ["elixir"] roots = [] comment-token = "#" @@ -88,7 +88,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "elixir" -source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "f5d7bda543da788bd507b05bd722627dde66c9ec" } +source = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "60863fc6e27d60cf4b1917499ed2259f92c7800e" } [[language]] name = "fish" 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 |