aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_rust.lua
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2020-11-29 09:19:24 +0000
committerGitHub <noreply@github.com>2020-11-29 09:19:24 +0000
commit2940511ce0873c80268cb26ea42277036cbc55a7 (patch)
tree9ae54f6bc6995af40055dfe2500082bc1970b4f0 /plugins/language_rust.lua
parentea8a61d5254b7760f86326edf0d0ade3f22f6a24 (diff)
parentaf754c645255765005c21ba6aa8845a2167e72fa (diff)
downloadlite-xl-plugins-2940511ce0873c80268cb26ea42277036cbc55a7.tar.gz
lite-xl-plugins-2940511ce0873c80268cb26ea42277036cbc55a7.zip
Merge pull request #106 from quadroli/master
inclusion of char and u8 as keyword2 values in language_rust.lua file
Diffstat (limited to 'plugins/language_rust.lua')
-rw-r--r--plugins/language_rust.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/language_rust.lua b/plugins/language_rust.lua
index 321efc2..37ba81f 100644
--- a/plugins/language_rust.lua
+++ b/plugins/language_rust.lua
@@ -61,6 +61,7 @@ syntax.add {
["i128"] = "keyword2",
["i16"] = "keyword2",
["i8"] = "keyword2",
+ ["u8"] = "keyword2",
["u16"] = "keyword2",
["u32"] = "keyword2",
["u64"] = "keyword2",
@@ -70,6 +71,7 @@ syntax.add {
["f64"] = "keyword2",
["f128"] = "keyword2",
["String"] = "keyword2",
+ ["char"] = "keyword2",
["&str"] = "keyword2",
["bool"] = "keyword2",
["true"] = "literal",