diff options
author | Guldoman <giulio.lettieri@gmail.com> | 2023-08-22 23:19:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 17:19:32 -0400 |
commit | 896e40588411d758b8060ce2fae28ce1649c88d4 (patch) | |
tree | 6bd565bfd9d3ac9b06056805d1bf92dd5b2a5a2e /plugins/language_rust.lua | |
parent | 5d016b42d45e89f9839885192478faa283ec9388 (diff) | |
download | lite-xl-plugins-896e40588411d758b8060ce2fae28ce1649c88d4.tar.gz lite-xl-plugins-896e40588411d758b8060ce2fae28ce1649c88d4.zip |
Add `block_comment` to `language_rust` (#281)
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 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" }, |