on master help sign in
erlang: highlight unary '#' as punctuation.bracket
bd527c8Michael Davis
runtime/queries/erlang/highlights.scm+2−2
@@ -92,7 +92,7 @@
92
92
93(binary_operator operator: _ @operator)
93(binary_operator operator: _ @operator)
94(unary_operator operator: _ @operator)
94(unary_operator operator: _ @operator)
95−["/" ":" "#" "->"] @operator
95+["/" ":" "->"] @operator
96
96
97(tripledot) @comment.discard
97(tripledot) @comment.discard
98
98
@@ -123,6 +123,6 @@
123
123
124; Punctuation
124; Punctuation
125["," "." "-" ";"] @punctuation.delimiter
125["," "." "-" ";"] @punctuation.delimiter
126−["(" ")" "{" "}" "[" "]" "<<" ">>"] @punctuation.bracket
126+["(" ")" "#" "{" "}" "[" "]" "<<" ">>"] @punctuation.bracket
127
127
128; (ERROR) @error
128; (ERROR) @error