diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2021-08-20 14:44:24 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-09-17 21:06:36 +0200 |
| commit | 3c940fdfb5b2346c5d9537f774c71bca00db4e08 (patch) | |
| tree | 373a1078da173e64b4569a18b5e9a6d79f3d5d4a /queries | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-treesitter-3c940fdfb5b2346c5d9537f774c71bca00db4e08.tar nvim-treesitter-3c940fdfb5b2346c5d9537f774c71bca00db4e08.tar.gz nvim-treesitter-3c940fdfb5b2346c5d9537f774c71bca00db4e08.tar.bz2 nvim-treesitter-3c940fdfb5b2346c5d9537f774c71bca00db4e08.tar.lz nvim-treesitter-3c940fdfb5b2346c5d9537f774c71bca00db4e08.tar.xz nvim-treesitter-3c940fdfb5b2346c5d9537f774c71bca00db4e08.tar.zst nvim-treesitter-3c940fdfb5b2346c5d9537f774c71bca00db4e08.zip | |
feat(vim): support augroups
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/vim/highlights.scm | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ "<unique>" ] @constant.builtin -(au_event) @constant +[ + (augroup_name) + (au_event) +] @constant (normal_statement (commands) @constant) ;; Literals |
