mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 00:10:04 -04:00
chore(luau): update highlights and parser
This commit is contained in:
parent
1bee80469d
commit
10903b13d8
2 changed files with 16 additions and 2 deletions
|
|
@ -43,6 +43,12 @@
|
|||
"end"
|
||||
] @keyword.conditional)
|
||||
|
||||
(if_expression
|
||||
[
|
||||
"if"
|
||||
"then"
|
||||
] @keyword.conditional)
|
||||
|
||||
(elseif_statement
|
||||
[
|
||||
"elseif"
|
||||
|
|
@ -50,12 +56,21 @@
|
|||
"end"
|
||||
] @keyword.conditional)
|
||||
|
||||
(elseif_clause
|
||||
[
|
||||
"elseif"
|
||||
"then"
|
||||
] @keyword.conditional)
|
||||
|
||||
(else_statement
|
||||
[
|
||||
"else"
|
||||
"end"
|
||||
] @keyword.conditional)
|
||||
|
||||
(else_clause
|
||||
"else" @keyword.conditional)
|
||||
|
||||
(for_statement
|
||||
[
|
||||
"for"
|
||||
|
|
@ -100,7 +115,6 @@
|
|||
">"
|
||||
"="
|
||||
"&"
|
||||
"~"
|
||||
"|"
|
||||
"?"
|
||||
"//"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue