aboutsummaryrefslogtreecommitdiff
path: root/plugins/lfautoinsert.lua
diff options
context:
space:
mode:
authorcukmekerb <cukmekerb@gmail.com>2021-05-13 12:21:31 -0700
committercukmekerb <cukmekerb@gmail.com>2021-05-13 12:23:37 -0700
commit2f0428645313327f0b8d121f969793885c204860 (patch)
treeb6a9edc6200c83c2f3ec832c608039223003182e /plugins/lfautoinsert.lua
parentce8865f77c92b51a3fc1b724cc88e96e5be5c18c (diff)
downloadlite-xl-plugins-2f0428645313327f0b8d121f969793885c204860.tar.gz
lite-xl-plugins-2f0428645313327f0b8d121f969793885c204860.zip
added js/css multiline /* comments */
Diffstat (limited to 'plugins/lfautoinsert.lua')
-rw-r--r--plugins/lfautoinsert.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/lfautoinsert.lua b/plugins/lfautoinsert.lua
index d4792e0..bbdf3b9 100644
--- a/plugins/lfautoinsert.lua
+++ b/plugins/lfautoinsert.lua
@@ -19,6 +19,7 @@ config.lfautoinsert_map = {
["%f[%w]repeat%s*\n"] = "until",
["%f[%w]function.*%)%s*\n"] = "end",
["^%s*<([^/][^%s>]*)[^>]*>%s*\n"] = "</$TEXT>",
+ ["/%*"] = "*/",
}