mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
highlights: some fixes
Add `goto` keyword for C. Fix typo for lua.
This commit is contained in:
parent
8cf2dc7f9a
commit
85d2f9ee93
2 changed files with 7 additions and 6 deletions
|
|
@ -11,6 +11,7 @@
|
|||
"typedef"
|
||||
"union"
|
||||
"volatile"
|
||||
"goto"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
|
|
|
|||
|
|
@ -3,14 +3,14 @@
|
|||
;;; Builtins
|
||||
;; Keywords
|
||||
(
|
||||
[
|
||||
"if"
|
||||
"then"
|
||||
"if" @conditional
|
||||
"end" @conditional
|
||||
)
|
||||
[
|
||||
"else"
|
||||
"elseif"
|
||||
] @conditional
|
||||
"end" @confitional
|
||||
)
|
||||
"then"
|
||||
] @conditional
|
||||
|
||||
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue