diff options
| author | Thomas Vigouroux <thomas.vigouroux@protonmail.com> | 2022-08-23 14:44:27 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <thomas.vigouroux@protonmail.com> | 2022-08-23 15:03:06 +0200 |
| commit | 59f656a20375242948755e860fabe3944968cbc0 (patch) | |
| tree | 5062c7fcdb44951bb04048c8674fe2ef7314a48d /queries/vim | |
| parent | feat(vim): update to latest highlights (diff) | |
| download | nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar.gz nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar.bz2 nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar.lz nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar.xz nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar.zst nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.zip | |
chore(vim): update parser and highlights
Adds support for map_bar.
Correctly highlight unknown builtin commands.
Diffstat (limited to 'queries/vim')
| -rw-r--r-- | queries/vim/highlights.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/queries/vim/highlights.scm b/queries/vim/highlights.scm index 7bd481925..1951f341e 100644 --- a/queries/vim/highlights.scm +++ b/queries/vim/highlights.scm @@ -91,12 +91,10 @@ "belowright" "topleft" "botright" + (unknown_command_name) ] @keyword (map_statement cmd: _ @keyword) -[ - (command_name) - (unknown_command_name) -]@function.macro +(command_name) @function.macro ;; Syntax command |
