Skip to content

Commit f9f5fe6

Browse files
authored
Add rainbows for Lua (#14256)
1 parent e5e7fe4 commit f9f5fe6

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

book/src/generated/lang-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
| llvm-mir-yaml || || | | |
150150
| log || | | | | |
151151
| lpf || | | | | |
152-
| lua |||| | | `lua-language-server` |
152+
| lua |||| | | `lua-language-server` |
153153
| luap || | | | | |
154154
| luau |||| | | `luau-lsp` |
155155
| mail ||| | | | |

runtime/queries/lua/rainbows.scm

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[
2+
(table_constructor)
3+
(bracket_index_expression)
4+
(parameters)
5+
(arguments)
6+
(field)
7+
] @rainbow.scope
8+
9+
["(" ")" "[" "]" "{" "}"] @rainbow.bracket

0 commit comments

Comments
 (0)