diff options
author | Cukmekerb <cukmekerb@gmail.com> | 2022-11-07 20:59:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 05:59:41 +0100 |
commit | 62f8740ce7a57466b62fa8efc09dab9755e22b4b (patch) | |
tree | a6090b90bb657bcb93c1307a5f6c43b8a523c7d1 | |
parent | 3c7fde4346a23f5cdd5c541e0d6a5e98b1042aba (diff) | |
download | lite-xl-plugins-62f8740ce7a57466b62fa8efc09dab9755e22b4b.tar.gz lite-xl-plugins-62f8740ce7a57466b62fa8efc09dab9755e22b4b.zip |
add nelua support to lfautoinsert (#150)
-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 add57f4..fa7294e 100644 --- a/plugins/lfautoinsert.lua +++ b/plugins/lfautoinsert.lua @@ -27,7 +27,7 @@ config.plugins.lfautoinsert = common.merge({ map = { } }, ["lua"] = { - file_patterns = { "%.lua$" }, + file_patterns = { "%.lua$", "%.nelua$" }, map = { ["%f[%w]do%s*\n"] = "end", ["%f[%w]then%s*\n"] = "end", |