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 | |
| parent | ea8d8bbef041bcb4130aaa66f4b29bd68160bbb0 (diff) | |
chore(vim): update parser and highlights
Adds support for map_bar.
Correctly highlight unknown builtin commands.
| -rw-r--r-- | lockfile.json | 2 | ||||
| -rw-r--r-- | queries/vim/highlights.scm | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/lockfile.json b/lockfile.json index f65e62a8..45c35ad3 100644 --- a/lockfile.json +++ b/lockfile.json @@ -357,7 +357,7 @@ "revision": "8f6b1f357d1231c420404b5f7a368a73c25adfa2" }, "vim": { - "revision": "066760141be9085368eb00680fbd43b73533d443" + "revision": "73c5ddd92097333ded42c75e93e1df059815b4c9" }, "vue": { "revision": "91fe2754796cd8fba5f229505a23fa08f3546c06" diff --git a/queries/vim/highlights.scm b/queries/vim/highlights.scm index 7bd48192..1951f341 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 |
