From 16871594e48b27b7bed8f7ced72e6b173a29e847 Mon Sep 17 00:00:00 2001 From: windwp Date: Thu, 8 Jul 2021 19:22:04 +0700 Subject: [PATCH] add xml --- lua/nvim-ts-autotag/internal.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/nvim-ts-autotag/internal.lua b/lua/nvim-ts-autotag/internal.lua index 886bb0d..d747fe9 100644 --- a/lua/nvim-ts-autotag/internal.lua +++ b/lua/nvim-ts-autotag/internal.lua @@ -8,6 +8,7 @@ local M = {} M.tbl_filetypes = { 'html', 'javascript', 'typescript', 'javascriptreact', 'typescriptreact', 'svelte', 'vue', 'tsx', 'jsx', + 'xml', 'php', 'glimmer','handlebars','hbs' } @@ -20,7 +21,7 @@ M.tbl_skipTag = { local ERROR_TAG = "ERROR" local HTML_TAG = { - filetypes = {'html','php'}, + filetypes = {'html', 'php', 'xml'}, start_tag_pattern = 'start_tag', start_name_tag_pattern = 'tag_name', end_tag_pattern = "end_tag",