summaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/vim/highlights.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/queries/vim/highlights.scm b/queries/vim/highlights.scm
index e10983d4..5f5f6cd0 100644
--- a/queries/vim/highlights.scm
+++ b/queries/vim/highlights.scm
@@ -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