Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

elixir: Capture identifiers as @variable (#22579)

Peter Trippd0c4c0c2409f
diff --git a/extensions/elixir/languages/elixir/highlights.scm b/extensions/elixir/languages/elixir/highlights.scm
index 0e779d195c5..69e962ae392 100644
--- a/extensions/elixir/languages/elixir/highlights.scm
+++ b/extensions/elixir/languages/elixir/highlights.scm
@@ -67,6 +67,8 @@
quoted_start: _ @string.special
quoted_end: _ @string.special) @string.special
+(identifier) @variable
+
(
(identifier) @comment.unused
(#match? @comment.unused "^_")