@@ -17,7 +17,8 @@
1717 (atom_content)
1818 (atom_end)] @tag
1919
20−(comment) @comment
20+[(comment)
21+ (unused_identifier)] @comment
2122
2223(escape_sequence) @escape
2324
@@ -50,8 +51,7 @@
5051 left: (identifier) @variable.parameter
5152 operator: _ @function
5253 right: (identifier) @variable.parameter)]
53− (#match? @keyword "^(defp|def|defmacrop|defmacro|defguardp|defguard|defdelegate)$")
54− (#match? @variable.parameter "^[^_]"))
54+ (#match? @keyword "^(defp|def|defmacrop|defmacro|defguardp|defguard|defdelegate)$"))
5555
5656(call (function_identifier) @keyword
5757 [(call
@@ -73,8 +73,7 @@
7373 (_ (_ (identifier) @variable.parameter))
7474 (_ (_ (_ (identifier) @variable.parameter)))
7575 (_ (_ (_ (_ (identifier) @variable.parameter))))
76− (_ (_ (_ (_ (_ (identifier) @variable.parameter)))))]))
77− (#match? @variable.parameter "^[^_]"))
76+ (_ (_ (_ (_ (_ (identifier) @variable.parameter)))))])))
7877
7978(unary_op
8079 operator: "@"
@@ -134,13 +133,6 @@
134133 ">>"
135134] @punctuation.bracket
136135
137−[(identifier) @function.special
138− (#match? @function.special "^__.+__$")]
139−
140−[(remote_identifier) @function.special
141− (#match? @function.special "^__.+__$")]
142−
143−[(identifier) @comment
144− (#match? @comment "^_")]
136+(special_identifier) @function.special
145137
146138(ERROR) @warning