From 62f8740ce7a57466b62fa8efc09dab9755e22b4b Mon Sep 17 00:00:00 2001 From: Cukmekerb Date: Mon, 7 Nov 2022 20:59:41 -0800 Subject: add nelua support to lfautoinsert (#150) --- plugins/lfautoinsert.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.3