highlights: some fixes

Add `goto` keyword for C.
Fix typo for lua.
This commit is contained in:
Thomas Vigouroux 2020-07-16 09:30:15 +02:00 committed by Stephan Seitz
parent 8cf2dc7f9a
commit 85d2f9ee93
2 changed files with 7 additions and 6 deletions

View file

@ -11,6 +11,7 @@
"typedef" "typedef"
"union" "union"
"volatile" "volatile"
"goto"
] @keyword ] @keyword
[ [

View file

@ -3,14 +3,14 @@
;;; Builtins ;;; Builtins
;; Keywords ;; Keywords
( (
[ "if" @conditional
"if" "end" @conditional
"then" )
[
"else" "else"
"elseif" "elseif"
] @conditional "then"
"end" @confitional ] @conditional
)
( (