Skip to content

Commit

Permalink
fix: code folding and code commenting for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jan 4, 2024
1 parent f7815e6 commit 52ff050
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
],
"folding": {
"markers": {
"start": "^\\s*(@([a-zA-Z._]+)(\\s{0,2}))(\\()",
"start": "^\\s*(@((?!let|eval|assign|include|includeIf|inject|newError)[a-zA-Z._]+)(\\s{0,2}))(\\()",
"end": "^\\s*@end([a-zA-Z._]?)\\b"
}
},
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@
{
"language": "edge",
"scopeName": "text.html.edge",
"path": "./syntaxes/edge.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.javascript": "javascript"
}
"path": "./syntaxes/edge.tmLanguage.json"
}
],
"snippets": [
Expand Down Expand Up @@ -80,7 +77,7 @@
},
"scripts": {
"build": "del-cli dist && tsup",
"dev": "tsup --watch",
"dev": "tsup",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit",
Expand Down

0 comments on commit 52ff050

Please sign in to comment.