diff options
| author | Thomas Vigouroux <thomas.vigouroux@protonmail.com> | 2022-01-19 16:31:29 +0100 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-01-24 13:24:31 +0100 |
| commit | 073a3ac9291bf0485a45f6cebd14885efc6ff127 (patch) | |
| tree | 02c9c7693ac4ae2be66cd4b5df46fcd2cce36509 /queries/vim/highlights.scm | |
| parent | feat(indent): Implement basic indent for gdscript. (diff) | |
| download | nvim-treesitter-073a3ac9291bf0485a45f6cebd14885efc6ff127.tar nvim-treesitter-073a3ac9291bf0485a45f6cebd14885efc6ff127.tar.gz nvim-treesitter-073a3ac9291bf0485a45f6cebd14885efc6ff127.tar.bz2 nvim-treesitter-073a3ac9291bf0485a45f6cebd14885efc6ff127.tar.lz nvim-treesitter-073a3ac9291bf0485a45f6cebd14885efc6ff127.tar.xz nvim-treesitter-073a3ac9291bf0485a45f6cebd14885efc6ff127.tar.zst nvim-treesitter-073a3ac9291bf0485a45f6cebd14885efc6ff127.zip | |
feat(vim): support syntax command
Diffstat (limited to 'queries/vim/highlights.scm')
| -rw-r--r-- | queries/vim/highlights.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/queries/vim/highlights.scm b/queries/vim/highlights.scm index beec86977..0d283ff17 100644 --- a/queries/vim/highlights.scm +++ b/queries/vim/highlights.scm @@ -37,7 +37,7 @@ (call_expression function: (identifier) @function) (function_declaration parameters: (parameters (identifier) @parameter)) -[ (bang) (spread) ] @punctuation.special +[ (bang) (spread) (at) ] @punctuation.special [ (no_option) (inv_option) (default_option) (option_name) ] @variable.builtin [ @@ -67,6 +67,8 @@ "perl" "python" "highlight" + "delcommand" + "comclear" ] @keyword (map_statement cmd: _ @keyword) (command_name) @function.macro @@ -84,8 +86,13 @@ "foldlevel" "iskeyword" "keyword" + "match" + "cluster" + "region" ] @keyword) +(syntax_argument name: _ @keyword) + [ "<buffer>" "<nowait>" |
