diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-07-16 09:30:15 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2020-07-16 10:49:49 +0200 |
| commit | 85d2f9ee9390fce82267dccf6814a25748329729 (patch) | |
| tree | 439f463f01b29da3db1884c88958f96b08a389f7 /queries/lua | |
| parent | Refactor locals.lua: (diff) | |
| download | nvim-treesitter-85d2f9ee9390fce82267dccf6814a25748329729.tar nvim-treesitter-85d2f9ee9390fce82267dccf6814a25748329729.tar.gz nvim-treesitter-85d2f9ee9390fce82267dccf6814a25748329729.tar.bz2 nvim-treesitter-85d2f9ee9390fce82267dccf6814a25748329729.tar.lz nvim-treesitter-85d2f9ee9390fce82267dccf6814a25748329729.tar.xz nvim-treesitter-85d2f9ee9390fce82267dccf6814a25748329729.tar.zst nvim-treesitter-85d2f9ee9390fce82267dccf6814a25748329729.zip | |
highlights: some fixes
Add `goto` keyword for C.
Fix typo for lua.
Diffstat (limited to 'queries/lua')
| -rw-r--r-- | queries/lua/highlights.scm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm index 1ad10480e..2585047b3 100644 --- a/queries/lua/highlights.scm +++ b/queries/lua/highlights.scm @@ -3,14 +3,14 @@ ;;; Builtins ;; Keywords ( - [ - "if" - "then" + "if" @conditional + "end" @conditional +) +[ "else" "elseif" - ] @conditional - "end" @confitional -) + "then" +] @conditional ( |
