diff --git a/bin/assets/plugins/formatters.json b/bin/assets/plugins/formatters.json index 3efe2676f..118feb9f2 100644 --- a/bin/assets/plugins/formatters.json +++ b/bin/assets/plugins/formatters.json @@ -7,8 +7,8 @@ }, "formatters": [ { - "language": ["javascript", "typescript", "JSX"], - "file_patterns": ["%.js$", "%.ts$", "%.jsx$", "%.tsx$"], + "language": ["javascript", "typescript", "jsx", "tsx", "html"], + "file_patterns": ["%.js$", "%.ts$", "%.jsx$", "%.tsx$", "%.html?$"], "command": "prettier $FILENAME", "url": "https://prettier.io" }, @@ -52,8 +52,8 @@ "url": "#native" }, { - "language": [ "xml", "html" ], - "file_patterns": ["%.xml", "%.html?$"], + "language": [ "xml" ], + "file_patterns": ["%.xml"], "command": "xml", "type": "native", "url": "#native" diff --git a/bin/assets/plugins/linters.json b/bin/assets/plugins/linters.json index 0630ade0e..f2b057b88 100644 --- a/bin/assets/plugins/linters.json +++ b/bin/assets/plugins/linters.json @@ -23,7 +23,7 @@ "url": "https://stedolan.github.io/jq/" }, { - "language": ["javascript", "typescript", "JSX"], + "language": ["javascript", "typescript", "jsx", "tsx"], "file_patterns": ["%.js$", "%.ts$", "%.jsx$", "%.tsx$"], "warning_pattern": "[^:]:(%d+):(%d+): ([^%[]+)%[([^\n]+)", "warning_pattern_order": { "line": 1, "col": 2, "message": 3, "type": 4 }, diff --git a/src/eepp/ui/doc/syntaxdefinitionmanager.cpp b/src/eepp/ui/doc/syntaxdefinitionmanager.cpp index 3699500b2..f74c80258 100644 --- a/src/eepp/ui/doc/syntaxdefinitionmanager.cpp +++ b/src/eepp/ui/doc/syntaxdefinitionmanager.cpp @@ -1491,6 +1491,7 @@ static void addxit() { { { "^(%[x%]%s)([%.!]+)%s" }, { "function", "function", "red" } }, { { "^(%[@%]%s)([%.!]+)%s" }, { "keyword", "keyword", "red" } }, { { "^(%[~%]%s)([%.!]+)%s" }, { "comment", "comment", "red" } }, + { { "^(%[%.%]%s)([%.!]+)%s" }, { "comment", "comment", "red" } }, { { "%#[%wñàáâãäåèéêëìíîïòóôõöùúûüýÿÑÀÁÂÃÄÅÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜÝ%-%_]+%=\"", "\"" }, "string" }, { { "%#[%wñàáâãäåèéêëìíîïòóôõöùúûüýÿÑÀÁÂÃÄÅÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜÝ%-%_]+%='", "'" }, @@ -1503,6 +1504,7 @@ static void addxit() { { { "^%[@%]%s" }, "keyword" }, { { "^%[~%]%s" }, "comment" }, { { "^%[%?%]%s" }, "warning" }, + { { "^%[%.%]%s" }, "notice" }, { { "^[%wñàáâãäåèéêëìíîïòóôõöùúûüýÿÑÀÁÂÃÄÅÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜÝ][%w" "ñàáâãäåèéêëìíîïòóôõöùúûüýÿÑÀÁÂÃÄÅÈÉÊËÌÍÎÏÒÓÔÕÖÙÚÛÜÝ%s%p]*%f[\n]" }, "underline" },