Skip to content

Commit 4e97468

Browse files
committed
fix(vscode): set ruff as python formatter, prettier as default
1 parent 6d0c864 commit 4e97468

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

modules/vscode.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
];
1212
userSettings = {
1313
"editor.wordWrap" = "on";
14-
"editor.defaultFormatter" = "charliermarsh.ruff";
14+
"editor.defaultFormatter" = "esbenp.prettier-vscode";
1515
"editor.minimap.enabled" = false;
1616
"editor.formatOnSave" = true;
1717
"editor.fontSize" = 16;
@@ -42,6 +42,7 @@
4242
"inlineChat.lineNaturalLanguageHint" = false;
4343
"terminal.integrated.initialHint" = false;
4444
"[python]" = {
45+
"editor.defaultFormatter" = "charliermarsh.ruff";
4546
"editor.tabSize" = 4;
4647
"editor.insertSpaces" = true;
4748
"editor.detectIndentation" = false;

0 commit comments

Comments
 (0)