From fb3a7a8bcc1db2d84d22ff1eb1b17c00a5d77cda Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Fri, 20 Aug 2021 14:44:24 +0200 Subject: feat(vim): support augroups --- lockfile.json | 2 +- queries/vim/highlights.scm | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lockfile.json b/lockfile.json index 8a97455f2..3a29bac89 100644 --- a/lockfile.json +++ b/lockfile.json @@ -201,7 +201,7 @@ "revision": "8f6b1f357d1231c420404b5f7a368a73c25adfa2" }, "vim": { - "revision": "7ddc0e0a0d96b4886b16afcbd161e33a53ef4fd0" + "revision": "034d89e66c9fcc319848b7aca5e8260f38ed7000" }, "vue": { "revision": "91fe2754796cd8fba5f229505a23fa08f3546c06" diff --git a/queries/vim/highlights.scm b/queries/vim/highlights.scm index f7b955837..fc7f19e5c 100644 --- a/queries/vim/highlights.scm +++ b/queries/vim/highlights.scm @@ -51,6 +51,7 @@ "silent" "echo" "autocmd" + "augroup" "return" "lua" "ruby" @@ -69,7 +70,10 @@ "" ] @constant.builtin -(au_event) @constant +[ + (augroup_name) + (au_event) +] @constant (normal_statement (commands) @constant) ;; Literals -- cgit v1.2.3-70-g09d2