Unnamed repository; edit this file 'description' to name the repository.
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.
Michael Davis 2022-04-13
parent 8c3c901 · commit 4ac94a5
-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