aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_rust.lua
diff options
context:
space:
mode:
authorJobinsJC <jobinsjjc1492@protonmail.com>2021-11-23 12:48:23 +0900
committerJobinsJC <jobinsjjc1492@protonmail.com>2021-11-23 12:48:23 +0900
commitbf3c9f44882ef14b2f5c0cf7355f2377a208638e (patch)
tree190e20b7b8a1d9acfdc345e5a418123327af5486 /plugins/language_rust.lua
parent9ce8ec37d09f7d838ac033d382ed03564b11d5e2 (diff)
downloadlite-xl-plugins-bf3c9f44882ef14b2f5c0cf7355f2377a208638e.tar.gz
lite-xl-plugins-bf3c9f44882ef14b2f5c0cf7355f2377a208638e.zip
Thanks Guldoman
Diffstat (limited to 'plugins/language_rust.lua')
-rw-r--r--plugins/language_rust.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_rust.lua b/plugins/language_rust.lua
index 9b94d69..dc06335 100644
--- a/plugins/language_rust.lua
+++ b/plugins/language_rust.lua
@@ -15,7 +15,7 @@ syntax.add {
{ pattern = "-?%d+[%d%.eE]*f?", type = "number" },
{ pattern = "-?%.?%d+f?", type = "number" },
{ pattern = "[%+%-=/%*%^%%<>!~|&]", type = "operator" },
- { pattern = "[%a_][%w_]*!%f[%[(]", type = "function" },
+ { pattern = "[%a_][%w_]*!%f[%[(]", type = "function" },
{ pattern = "[%a_][%w_]*%f[(]", type = "function" },
{ pattern = "[%a_][%w_]*", type = "symbol" },
},