diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2026-03-11 17:24:03 -0700 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2026-03-12 09:28:44 +0100 |
| commit | 493890b87a81dfe6a7e577dbc364ae33fa482da9 (patch) | |
| tree | 8114166d925296433fc95f889a0da45fd302a7fd | |
| parent | fix(filetype): don't register `c-sharp` (diff) | |
| download | nvim-treesitter-493890b87a81dfe6a7e577dbc364ae33fa482da9.tar nvim-treesitter-493890b87a81dfe6a7e577dbc364ae33fa482da9.tar.gz nvim-treesitter-493890b87a81dfe6a7e577dbc364ae33fa482da9.tar.bz2 nvim-treesitter-493890b87a81dfe6a7e577dbc364ae33fa482da9.tar.lz nvim-treesitter-493890b87a81dfe6a7e577dbc364ae33fa482da9.tar.xz nvim-treesitter-493890b87a81dfe6a7e577dbc364ae33fa482da9.tar.zst nvim-treesitter-493890b87a81dfe6a7e577dbc364ae33fa482da9.zip | |
feat(textproto): punctuation and string escape highlights
| -rw-r--r-- | runtime/queries/textproto/highlights.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/queries/textproto/highlights.scm b/runtime/queries/textproto/highlights.scm index 527af0398..f4d355ce2 100644 --- a/runtime/queries/textproto/highlights.scm +++ b/runtime/queries/textproto/highlights.scm @@ -6,6 +6,18 @@ (number) @number +"-" @operator + +[ + ":" + ";" + "," + "." + "/" +] @punctuation.delimiter + +(string_escape) @string.escape + ; For stuff like "inf" and "-inf". (scalar_value [ |
