aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Davis2021-10-12 21:14:32 +0000
committerMichael Davis2021-10-17 15:50:20 +0000
commitc502cafecc42cc6099241e7ba129727bedf150d7 (patch)
treedc4398482930295c43bce28c34de87d0acde78f0
parentb2655a7f5ca0edfffcaabb8ab84b53571afba19a (diff)
highlight calls to erlang modules as types
connects https://github.com/elixir-lang/tree-sitter-elixir/pull/5
-rw-r--r--runtime/queries/elixir/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/queries/elixir/highlights.scm b/runtime/queries/elixir/highlights.scm
index a840018a..a5b3884e 100644
--- a/runtime/queries/elixir/highlights.scm
+++ b/runtime/queries/elixir/highlights.scm
@@ -81,6 +81,10 @@
(alias) @type
+(call
+ target: (dot
+ left: (atom) @type))
+
(char) @constant
; Quoted content