diff options
author | Eric Gaudet <gaudet.eric@gmail.com> | 2022-12-27 07:56:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-27 11:56:46 -0400 |
commit | a5e119a9dc9a0160211c4c54fdbe83ae5dabcc43 (patch) | |
tree | de5656fa971de0d8a0eb257ee935cd5716015dce /plugins | |
parent | b02654093452d2fd0ef7c9a458a5d2d04c7b4a1b (diff) | |
download | lite-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.lua | 2 |
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++"] = { |