From 2f0428645313327f0b8d121f969793885c204860 Mon Sep 17 00:00:00 2001 From: cukmekerb Date: Thu, 13 May 2021 12:21:31 -0700 Subject: added js/css multiline /* comments */ --- plugins/lfautoinsert.lua | 1 + 1 file changed, 1 insertion(+) 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"] = "", + ["/%*"] = "*/", } -- cgit v1.2.3