Skip to content

Commit

Permalink
remove error highlighting for tree-sitter-elixir
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
the-mikedavis authored and archseer committed Apr 13, 2022
1 parent 8c3c901 commit 4ac94a5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions runtime/queries/elixir/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,3 @@
"<<"
">>"
] @punctuation.bracket

(ERROR) @warning

0 comments on commit 4ac94a5

Please sign in to comment.