mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -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"
|
"typedef"
|
||||||
"union"
|
"union"
|
||||||
"volatile"
|
"volatile"
|
||||||
|
"goto"
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,14 @@
|
||||||
;;; Builtins
|
;;; Builtins
|
||||||
;; Keywords
|
;; Keywords
|
||||||
(
|
(
|
||||||
[
|
"if" @conditional
|
||||||
"if"
|
"end" @conditional
|
||||||
"then"
|
)
|
||||||
|
[
|
||||||
"else"
|
"else"
|
||||||
"elseif"
|
"elseif"
|
||||||
] @conditional
|
"then"
|
||||||
"end" @confitional
|
] @conditional
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
(
|
(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue