From 250bbc5a04b6e80ff1c212e89a80e976cda9e433 Mon Sep 17 00:00:00 2001 From: Tim <52012721+toh995@users.noreply.github.com> Date: Mon, 10 Oct 2022 14:05:10 +0800 Subject: [PATCH] feat: add `handlebars` support (#257) Ref: https://handlebarsjs.com/guide/#template-comments --- lua/Comment/ft.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/Comment/ft.lua b/lua/Comment/ft.lua index fc8c206..1790fbf 100644 --- a/lua/Comment/ft.lua +++ b/lua/Comment/ft.lua @@ -19,6 +19,7 @@ local M = { dbl_hash = '##%s', dash = '--%s', dash_bracket = '--[[%s]]', + handlebars = '{{!--%s--}}', hash = '#%s', hash_bracket = '#[[%s]]', haskell_b = '{-%s-}', @@ -64,6 +65,7 @@ local L = setmetatable({ go = { M.cxx_l, M.cxx_b }, graphql = { M.hash }, groovy = { M.cxx_l, M.cxx_b }, + handlebars = { M.handlebars, M.handlebars }, haskell = { M.dash, M.haskell_b }, heex = { M.html, M.html }, html = { M.html, M.html },