diff options
author | Nightwing <94565465+Nightwing13@users.noreply.github.com> | 2021-12-06 21:37:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 21:37:02 +0900 |
commit | 3627588317a953e1d4170507b1fd73dbcf68d64f (patch) | |
tree | c670834ce14acb707bf52b518bf38e8736cc6da0 | |
parent | 8abe633e3923335e99cc49e0d7890263da141b98 (diff) | |
download | lite-xl-plugins-3627588317a953e1d4170507b1fd73dbcf68d64f.tar.gz lite-xl-plugins-3627588317a953e1d4170507b1fd73dbcf68d64f.zip |
Fix spacing 2
-rw-r--r-- | plugins/language_rust.lua | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/plugins/language_rust.lua b/plugins/language_rust.lua index 42b167f..f20d35e 100644 --- a/plugins/language_rust.lua +++ b/plugins/language_rust.lua @@ -10,7 +10,7 @@ syntax.add { { pattern = { "/%*", "%*/" }, type = "comment" }, { pattern = { 'r#"', '"#', '\\' }, type = "string" }, { pattern = { '"', '"', '\\' }, type = "string" }, - { pattern = "'.'", type = "string" }, + { pattern = "'.'", type = "string" }, { pattern = "'%a", type = "keyword2" }, { pattern = "0[oO_][0-7]+", type = "number" }, { pattern = "-?0x[%x_]+", type = "number" }, @@ -61,30 +61,30 @@ syntax.add { ["use"] = "keyword", ["where"] = "keyword", ["while"] = "keyword", - ["i32"] = "keyword2", - ["i64"] = "keyword2", - ["i128"] = "keyword2", - ["i16"] = "keyword2", - ["i8"] = "keyword2", - ["u8"] = "keyword2", - ["u16"] = "keyword2", - ["u32"] = "keyword2", - ["u64"] = "keyword2", - ["usize"] = "keyword2", - ["isize"] = "keyword2", - ["f32"] = "keyword2", - ["f64"] = "keyword2", - ["f128"] = "keyword2", - ["String"] = "keyword2", - ["char"] = "keyword2", - ["str"] = "keyword2", - ["bool"] = "keyword2", - ["true"] = "literal", - ["false"] = "literal", - ["None"] = "literal", - ["Some"] = "literal", - ["Option"] = "literal", - ["Result"] = "literal", + ["i32"] = "keyword2", + ["i64"] = "keyword2", + ["i128"] = "keyword2", + ["i16"] = "keyword2", + ["i8"] = "keyword2", + ["u8"] = "keyword2", + ["u16"] = "keyword2", + ["u32"] = "keyword2", + ["u64"] = "keyword2", + ["usize"] = "keyword2", + ["isize"] = "keyword2", + ["f32"] = "keyword2", + ["f64"] = "keyword2", + ["f128"] = "keyword2", + ["String"] = "keyword2", + ["char"] = "keyword2", + ["str"] = "keyword2", + ["bool"] = "keyword2", + ["true"] = "literal", + ["false"] = "literal", + ["None"] = "literal", + ["Some"] = "literal", + ["Option"] = "literal", + ["Result"] = "literal", }, } |