From 7929348381c51975d44f4c1120deb548a4a7fa7d Mon Sep 17 00:00:00 2001 From: Eugene Oliveros Date: Wed, 22 May 2024 14:09:15 +0800 Subject: [PATCH] feat: add htmldjango support --- README.md | 1 + lua/ts-comments.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index ce0a40b..2aea1cc 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ Default configuration: handlebars = "{{! %s }}", hcl = "# %s", html = "", + htmldjango = "{# %s #}", ini = "; %s", javascript = { "// %s", diff --git a/lua/ts-comments.lua b/lua/ts-comments.lua index 50020c9..186a9ba 100644 --- a/lua/ts-comments.lua +++ b/lua/ts-comments.lua @@ -20,6 +20,7 @@ local options = { handlebars = "{{! %s }}", hcl = "# %s", html = "", + htmldjango = "{# %s #}", ini = "; %s", lua = { "-- %s", "--- %s" }, -- langs can have multiple commentstrings php = "// %s",