aboutsummaryrefslogtreecommitdiff
path: root/plugins/lfautoinsert.lua
diff options
context:
space:
mode:
authorFrancesco <francesco.bbt@gmail.com>2021-05-13 21:40:32 +0200
committerGitHub <noreply@github.com>2021-05-13 21:40:32 +0200
commit277036d2d0baf2d0c9982b402fd2deb21f30645c (patch)
treeb6a9edc6200c83c2f3ec832c608039223003182e /plugins/lfautoinsert.lua
parentce8865f77c92b51a3fc1b724cc88e96e5be5c18c (diff)
parent2f0428645313327f0b8d121f969793885c204860 (diff)
downloadlite-xl-plugins-277036d2d0baf2d0c9982b402fd2deb21f30645c.tar.gz
lite-xl-plugins-277036d2d0baf2d0c9982b402fd2deb21f30645c.zip
Merge pull request #12 from vincens2005/master
lfautoinsert: add 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>",
+ ["/%*"] = "*/",
}