fix fennel syntax highlighting quirk
This commit is contained in:
parent
6d46d0f638
commit
f0156c576a
14
vendor/lite-plugins/plugins/language_fennel.lua
vendored
14
vendor/lite-plugins/plugins/language_fennel.lua
vendored
|
@ -10,13 +10,13 @@ syntax.add {
|
|||
files = "%.fnl$",
|
||||
comment = ";",
|
||||
patterns = {
|
||||
{ pattern = ";.-\n", type = "comment" },
|
||||
{ pattern = { '"', '"', '\\' }, type = "string" },
|
||||
{ pattern = "0x[%da-fA-F]+", type = "number" },
|
||||
{ pattern = "-?%d+[%d%.]*", type = "number" },
|
||||
{ pattern = "-?%.?%d+", type = "number" },
|
||||
{ pattern = "%f[^(][^()'%s\"]+", type = "function" },
|
||||
{ pattern = "[^()'%s\"]+", type = "symbol" },
|
||||
{ pattern = ";.-\n", type = "comment" },
|
||||
{ pattern = { '"', '"', '\\' }, type = "string" },
|
||||
{ pattern = "0x[%da-fA-F]+", type = "number" },
|
||||
{ pattern = "-?%d+[%d%.]*", type = "number" },
|
||||
{ pattern = "-?%.?%d+", type = "number" },
|
||||
{ pattern = "%f[^(%[%{][^()'%s\"]+", type = "function" },
|
||||
{ pattern = "[^()%s\"]+", type = "symbol" },
|
||||
},
|
||||
|
||||
symbols = {
|
||||
|
|
Loading…
Reference in a new issue