From 887fcd9e45ff112c4f39d2a8ba2594d04b99752a Mon Sep 17 00:00:00 2001 From: William Vandervalk Date: Fri, 25 Feb 2022 15:44:51 -0500 Subject: [PATCH] Add htmldjango filetype --- lua/nvim-ts-autotag/internal.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/nvim-ts-autotag/internal.lua b/lua/nvim-ts-autotag/internal.lua index 6dbb4be..945b675 100644 --- a/lua/nvim-ts-autotag/internal.lua +++ b/lua/nvim-ts-autotag/internal.lua @@ -11,7 +11,8 @@ M.tbl_filetypes = { 'xml', 'php', 'markdown', - 'glimmer','handlebars','hbs' + 'glimmer','handlebars','hbs', + 'htmldjango' } M.tbl_skipTag = { @@ -22,7 +23,7 @@ M.tbl_skipTag = { local ERROR_TAG = "ERROR" local HTML_TAG = { - filetypes = {'html', 'php', 'xml', 'markdown'}, + filetypes = {'html', 'php', 'xml', 'markdown', 'htmldjango'}, start_tag_pattern = 'start_tag', start_name_tag_pattern = 'tag_name', end_tag_pattern = "end_tag",