aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEric Gaudet <gaudet.eric@gmail.com>2022-12-27 07:56:46 -0800
committerGitHub <noreply@github.com>2022-12-27 11:56:46 -0400
commita5e119a9dc9a0160211c4c54fdbe83ae5dabcc43 (patch)
treede5656fa971de0d8a0eb257ee935cd5716015dce /plugins
parentb02654093452d2fd0ef7c9a458a5d2d04c7b4a1b (diff)
downloadlite-xl-plugins-a5e119a9dc9a0160211c4c54fdbe83ae5dabcc43.tar.gz
lite-xl-plugins-a5e119a9dc9a0160211c4c54fdbe83ae5dabcc43.zip
Fix lfautoinsert (#180)
Fix for issue #174
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 fa7294e..492f323 100644
--- a/plugins/lfautoinsert.lua
+++ b/plugins/lfautoinsert.lua
@@ -12,7 +12,7 @@ config.plugins.lfautoinsert = common.merge({ map = {
["=%s*\n"] = false,
[":%s*\n"] = false,
["->%s*\n"] = false,
- ["^%s*<([^/][^%s>]*)[^>]*>%s*\n"] = "</$TEXT>",
+ ["^%s*<([^/!][^%s>]*)[^>]*>%s*\n"] = "</$TEXT>",
["^%s*{{#([^/][^%s}]*)[^}]*}}%s*\n"] = "{{/$TEXT}}",
["/%*%s*\n"] = "*/",
["c/c++"] = {