fix(vim): highlight more punctuation

This commit is contained in:
Thomas Vigouroux 2021-08-16 17:19:35 +02:00 committed by Stephan Seitz
parent 1877e03bfa
commit 5cc225af44

View file

@ -103,3 +103,17 @@
; Some characters have different meanings based on the context
(unary_operation "!" @operator)
(binary_operation "." @operator)
;; Punctuation
[
"("
")"
"{"
"}"
"["
"]"
] @punctuation.bracket
(field_expression "." @punctuation.delimiter)
"," @punctuation.delimiter