aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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"] = "*/",
}