feat: added markdown support

This commit is contained in:
Andrew 2021-12-16 02:18:11 +11:00 committed by windwp
parent 80d427af7b
commit 0ceb4ef342

View File

@ -10,6 +10,7 @@ M.tbl_filetypes = {
'html', 'javascript', 'typescript', 'javascriptreact', 'typescriptreact', 'svelte', 'vue', 'tsx', 'jsx',
'xml',
'php',
'markdown',
'glimmer','handlebars','hbs'
}
@ -21,7 +22,7 @@ M.tbl_skipTag = {
local ERROR_TAG = "ERROR"
local HTML_TAG = {
filetypes = {'html', 'php', 'xml'},
filetypes = {'html', 'php', 'xml', 'markdown'},
start_tag_pattern = 'start_tag',
start_name_tag_pattern = 'tag_name',
end_tag_pattern = "end_tag",