aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcukmekerb <cukmekerb@gmail.com>2021-05-16 10:46:41 -0700
committercukmekerb <cukmekerb@gmail.com>2021-05-16 10:46:41 -0700
commit65a9a4a1c45d48c09ad78dc5d249b6c401a2b294 (patch)
tree0a911ee480d20458c54a631d732bb2bfa5cedb0d
parent8cf8e685bc2cd82327ce34d979f55613cbe54efb (diff)
downloadlite-xl-plugins-65a9a4a1c45d48c09ad78dc5d249b6c401a2b294.tar.gz
lite-xl-plugins-65a9a4a1c45d48c09ad78dc5d249b6c401a2b294.zip
fixed bug in js/css comment patten in lfautoinsert
-rw-r--r--plugins/lfautoinsert.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/lfautoinsert.lua b/plugins/lfautoinsert.lua
index bbdf3b9..8a9c5ba 100644
--- a/plugins/lfautoinsert.lua
+++ b/plugins/lfautoinsert.lua
@@ -19,7 +19,7 @@ config.lfautoinsert_map = {
["%f[%w]repeat%s*\n"] = "until",
["%f[%w]function.*%)%s*\n"] = "end",
["^%s*<([^/][^%s>]*)[^>]*>%s*\n"] = "</$TEXT>",
- ["/%*"] = "*/",
+ ["/%*%s*\n"] = "*/",
}