aboutsummaryrefslogtreecommitdiff
path: root/plugins/lfautoinsert.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/lfautoinsert.lua')
-rw-r--r--plugins/lfautoinsert.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/lfautoinsert.lua b/plugins/lfautoinsert.lua
index 0ea7b9d..99f7e45 100644
--- a/plugins/lfautoinsert.lua
+++ b/plugins/lfautoinsert.lua
@@ -1,3 +1,4 @@
+-- mod-version:1 -- lite-xl 1.16
local core = require "core"
local command = require "core.command"
local config = require "core.config"
@@ -18,6 +19,7 @@ config.lfautoinsert_map = {
["%f[%w]repeat%s*\n"] = "until",
["%f[%w]function.*%)%s*\n"] = "end",
["^%s*<([^/][^%s>]*)[^>]*>%s*\n"] = "</$TEXT>",
+ ["/%*%s*\n"] = "*/",
}