From 4ac94a5c431c8ddff38bba5061e66ed355c42747 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Tue, 12 Apr 2022 20:42:07 -0500 Subject: 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. --- runtime/queries/elixir/highlights.scm | 2 -- 1 file changed, 2 deletions(-) (limited to 'runtime/queries/elixir') 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 -- cgit v1.2.3-70-g09d2