mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
|
@ -357,7 +357,7 @@
|
|||
"revision": "31461ae9bd0866cb5117cfe5de71189854fd0f3e"
|
||||
},
|
||||
"luau": {
|
||||
"revision": "6953cd4fa5967c9aa3c769b4e4c7e69c904b9fa9"
|
||||
"revision": "eaabb02c827e61f51a7dd13b8aba92924fc6dba0"
|
||||
},
|
||||
"m68k": {
|
||||
"revision": "d097b123f19c6eaba2bf181c05420d88b9fc489d"
|
||||
|
|
|
|||
|
|
@ -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