aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_rust.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/language_rust.lua')
-rw-r--r--plugins/language_rust.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_rust.lua b/plugins/language_rust.lua
index 44bc342..09e75ba 100644
--- a/plugins/language_rust.lua
+++ b/plugins/language_rust.lua
@@ -5,6 +5,7 @@ syntax.add {
name = "Rust",
files = { "%.rs$" },
comment = "//",
+ block_comment = { "/*", "*/" },
patterns = {
{ pattern = "//.-\n", type = "comment" },
{ pattern = { "/%*", "%*/" }, type = "comment" },