aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorMichael Davis2022-04-13 01:42:07 +0000
committerBlaž Hrastnik2022-04-13 05:28:51 +0000
commit4ac94a5c431c8ddff38bba5061e66ed355c42747 (patch)
treeef68562b2b88714841899ce4f9d682de1bd0a3aa /runtime/queries
parent8c3c90198a43fd69e1e3e07a2e164db3fb11bb24 (diff)
remove error highlighting for tree-sitter-elixir
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.
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/elixir/highlights.scm2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/queries/elixir/highlights.scm b/runtime/queries/elixir/highlights.scm
index 4cfc0c24..6c0d1094 100644
--- a/runtime/queries/elixir/highlights.scm
+++ b/runtime/queries/elixir/highlights.scm
@@ -217,5 +217,3 @@
"<<"
">>"
] @punctuation.bracket
-
-(ERROR) @warning