aboutsummaryrefslogtreecommitdiff
path: root/plugins/lfautoinsert.lua
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2021-08-17 11:26:18 -0230
committerGitHub <noreply@github.com>2021-08-17 11:26:18 -0230
commit9689846686f77dc0aa1e6f4d31fbfc42998c2085 (patch)
treeb187286f2ed78fa9317f288dc0c5144840bcdad9 /plugins/lfautoinsert.lua
parent44659ba00207cecd90412b714e53c2a1b7233fb9 (diff)
parenta42a0d57b08a9080ed9fd8fa84f1269e3847980f (diff)
downloadlite-xl-plugins-9689846686f77dc0aa1e6f4d31fbfc42998c2085.tar.gz
lite-xl-plugins-9689846686f77dc0aa1e6f4d31fbfc42998c2085.zip
Merge branch 'master' into 2.0
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 ddbec5e..5f4148b 100644
--- a/plugins/lfautoinsert.lua
+++ b/plugins/lfautoinsert.lua
@@ -13,6 +13,7 @@ config.plugins.lfautoinsert = { map = {
[":%s*\n"] = false,
["->%s*\n"] = false,
["^%s*<([^/][^%s>]*)[^>]*>%s*\n"] = "</$TEXT>",
+ ["^%s*{{#([^/][^%s}]*)[^}]*}}%s*\n"] = "{{/$TEXT}}",
["/%*%s*\n"] = "*/",
["c/c++"] = {
file_patterns = {