From b1cd3e5fc42a9175f8298af5e93fa09321c217e8 Mon Sep 17 00:00:00 2001 From: cukmekerb Date: Sat, 31 Jul 2021 15:15:59 -0700 Subject: lfautoinsert: add handlebars block helpers --- plugins/lfautoinsert.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/lfautoinsert.lua') diff --git a/plugins/lfautoinsert.lua b/plugins/lfautoinsert.lua index 0534aa8..f03d9af 100644 --- a/plugins/lfautoinsert.lua +++ b/plugins/lfautoinsert.lua @@ -13,6 +13,7 @@ config.lfautoinsert_map = { [":%s*\n"] = false, ["->%s*\n"] = false, ["^%s*<([^/][^%s>]*)[^>]*>%s*\n"] = "", + ["^%s*{{#([^/][^%s}]*)[^}]*}}%s*\n"] = "{{/$TEXT}}", ["/%*%s*\n"] = "*/", ["c/c++"] = { file_patterns = { -- cgit v1.2.3