From 59f656a20375242948755e860fabe3944968cbc0 Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Tue, 23 Aug 2022 14:44:27 +0200 Subject: [PATCH] chore(vim): update parser and highlights Adds support for map_bar. Correctly highlight unknown builtin commands. --- lockfile.json | 2 +- queries/vim/highlights.scm | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lockfile.json b/lockfile.json index f65e62a82..45c35ad38 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 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