diff options
author | Ben Larisch <benlarisch2019@gmail.com> | 2022-06-12 19:03:37 +0200 |
---|---|---|
committer | Ben Larisch <benlarisch2019@gmail.com> | 2022-06-12 19:03:37 +0200 |
commit | 173cac22693a824900ab5b10230544e0751e21e1 (patch) | |
tree | 3462cfefef2058e9c18f276b6a7cc3a4ddc01aa5 /plugins/language_v.lua | |
parent | 4d82ce94a37712241c0625e3e049ff8d089c6633 (diff) | |
download | lite-xl-plugins-173cac22693a824900ab5b10230544e0751e21e1.tar.gz lite-xl-plugins-173cac22693a824900ab5b10230544e0751e21e1.zip |
language_v: fmt tables
Diffstat (limited to 'plugins/language_v.lua')
-rw-r--r-- | plugins/language_v.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/language_v.lua b/plugins/language_v.lua index 317ac0b..f2be1a3 100644 --- a/plugins/language_v.lua +++ b/plugins/language_v.lua @@ -12,8 +12,8 @@ syntax.add { { pattern = { '"', '"', '\\' }, type = "string" }, { pattern = { "'", "'", '\\' }, type = "string" }, { pattern = { "`", "`", '\\' }, type = "string" }, - { pattern = "r()'.*'", type = {"normal", "string"} }, -- raw string single quotes - { pattern = "r()\".*\"", type = {"normal", "string"} }, -- raw string double quotes + { pattern = "r()'.*'", type = { "normal", "string" } }, -- raw string single quotes + { pattern = "r()\".*\"", type = { "normal", "string" } }, -- raw string double quotes { pattern = "0x[%da-fA-F_]+", type = "number" }, { pattern = "0b[01_]+", type = "number" }, { pattern = "00[01234567_]+", type = "number" }, |