diff options
author | Nightwing <jobinsjjc1492@protonmail.com> | 2021-12-01 00:18:43 +0900 |
---|---|---|
committer | Nightwing <jobinsjjc1492@protonmail.com> | 2021-12-01 00:18:43 +0900 |
commit | 29e90f290416e85765d0abda6daead452e853ae1 (patch) | |
tree | bcca640b39de8edf98f00a039a29ed03d1b69ea9 /plugins/language_rust.lua | |
parent | 4634f696dfba08be04777488716e19d51f667a66 (diff) | |
download | lite-xl-plugins-29e90f290416e85765d0abda6daead452e853ae1.tar.gz lite-xl-plugins-29e90f290416e85765d0abda6daead452e853ae1.zip |
Added support for raw string
Diffstat (limited to 'plugins/language_rust.lua')
-rw-r--r-- | plugins/language_rust.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_rust.lua b/plugins/language_rust.lua index a8dc017..40aeb5f 100644 --- a/plugins/language_rust.lua +++ b/plugins/language_rust.lua @@ -8,6 +8,7 @@ syntax.add { patterns = { { pattern = "//.-\n", type = "comment" }, { pattern = { "/%*", "%*/" }, type = "comment" }, + { pattern = { 'r#"', '"#', '\\' }, type = "string" }, { pattern = { '"', '"', '\\' }, type = "string" }, { pattern = { "`", "`", '\\' }, type = "string" }, { pattern = "0[oO_][0-7]+", type = "number" }, |