mirror of
https://github.com/Reuh/language-candran.git
synced 2025-10-28 12:49:31 +00:00
Merge pull request #31 from rm-code/master
Add syntax highlighting for constants
This commit is contained in:
commit
732703daec
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@
|
||||||
'name': 'keyword.control.lua'
|
'name': 'keyword.control.lua'
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
'match': '(?<![^.]\\.|:)\\b(false|nil|true|_G|_VERSION|math\\.(pi|huge))\\b|(?<![.])\\.{3}(?!\\.)'
|
'match': '(?<![^.]\\.|:)\\b([A-Z_]+|false|nil|true|math\\.(pi|huge))\\b|(?<![.])\\.{3}(?!\\.)'
|
||||||
'name': 'constant.language.lua'
|
'name': 'constant.language.lua'
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue