diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2021-08-16 17:19:35 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-08-16 21:31:22 +0200 |
| commit | 344b36866bd5d565c0e7e921c9a431b5dc490465 (patch) | |
| tree | 40267f9ff960df324a68335aaa36219f436c73c9 /queries | |
| parent | f2076b267ef2d53c35a964a8752eef38d7040fd5 (diff) | |
fix(vim): highlight more punctuation
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/vim/highlights.scm | 14 |
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 |
