mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
feat: custom languages syntax (WIP)
This commit is contained in:
parent
4360cd408b
commit
5253be6c56
18 changed files with 278 additions and 88 deletions
12
res/devtools/syntax/lua.toml
Normal file
12
res/devtools/syntax/lua.toml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
language = "Lua"
|
||||
extensions = ["lua"]
|
||||
line-comment = "--"
|
||||
multiline-comment-start = "[==["
|
||||
multiline-comment-end = "]==]"
|
||||
multiline-string-start = "[["
|
||||
multiline-string-end = "]]"
|
||||
keywords = [
|
||||
"and", "break", "do", "else", "elseif", "end", "false", "for", "function",
|
||||
"if", "in", "local", "nil", "not", "or", "repeat", "return", "then", "true",
|
||||
"until", "while"
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue