Skip to content

Commit

Permalink
fix: enable formatter as a default config option
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Jul 29, 2022
1 parent 4971b9e commit 26c0644
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/rare-suns-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"marko-vscode": patch
---

Enable Marko's formatter by default without needing to specify it in your vscode config.
5 changes: 5 additions & 0 deletions clients/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@
"description": "Traces the communication between VSCode and the language server."
}
}
},
"configurationDefaults": {
"[marko]": {
"editor.defaultFormatter": "Marko-JS.marko-vscode"
}
}
},
"devDependencies": {
Expand Down

0 comments on commit 26c0644

Please sign in to comment.