Add Blade filetype

The only thing that's missing is it doesn't indent properly when you
close a tag, but otherwise it closes properly.
This commit is contained in:
Yussef Dalton 2024-05-13 12:54:47 +02:00 committed by windwp
parent 2b8cfab1ac
commit bee717f49b

View File

@ -13,6 +13,7 @@ M.tbl_filetypes = {
'htmldjango',
'eruby',
'templ',
'blade',
}
-- stylua: ignore
@ -31,6 +32,7 @@ local HTML_TAG = {
'php',
'twig',
'xml',
'blade',
},
start_tag_pattern = { 'start_tag', 'STag' },
start_name_tag_pattern = { 'tag_name', 'Name' },