aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCukmekerb <cukmekerb@gmail.com>2022-11-07 20:59:41 -0800
committerGitHub <noreply@github.com>2022-11-08 05:59:41 +0100
commit62f8740ce7a57466b62fa8efc09dab9755e22b4b (patch)
treea6090b90bb657bcb93c1307a5f6c43b8a523c7d1 /plugins
parent3c7fde4346a23f5cdd5c541e0d6a5e98b1042aba (diff)
downloadlite-xl-plugins-62f8740ce7a57466b62fa8efc09dab9755e22b4b.tar.gz
lite-xl-plugins-62f8740ce7a57466b62fa8efc09dab9755e22b4b.zip
add nelua support to lfautoinsert (#150)
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 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",