Add mhtml extension support.

Update efsw.
This commit is contained in:
Martín Lucas Golini
2024-08-10 17:29:24 -03:00
parent 6532fdaecd
commit de9c2b4736
4 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
"formatters": [
{
"language": ["javascript", "typescript", "jsx", "tsx", "html"],
"file_patterns": ["%.js$", "%.ts$", "%.jsx$", "%.tsx$", "%.html?$"],
"file_patterns": ["%.js$", "%.ts$", "%.jsx$", "%.tsx$", "%.[mp]?html?$"],
"command": "prettier $FILENAME",
"url": "https://prettier.io"
},

View File

@@ -181,7 +181,7 @@
"name": "emmet-language-server",
"url": "https://github.com/olrtg/emmet-language-server",
"command": "emmet-language-server --stdio",
"file_patterns": ["%.htm", "%.html"],
"file_patterns": ["%.[mp]?html?"],
"rootIndicationFileNames": [".git"],
"initializationOptions": {
"showSuggestionsAsSnippets": true

View File

@@ -9,7 +9,7 @@ void addHTML() {
->add(
{ "HTML",
{ "%.html?$", "%.phtml", "%.handlebars" },
{ "%.[mp]?html?$", "%.handlebars" },
{
{ { "<%s*[sS][cC][rR][iI][pP][tT]%s+[tT][yY][pP][eE]%s*=%s*['\"]%a+/"
"[jJ][aA][vV][aA][sS][cC][rR][iI][pP][tT]['\"]%s*>",