added autopep8 extension and fixed toml config
This commit is contained in:
parent
f7b84c1de6
commit
9cc53818e3
@ -25,6 +25,7 @@
|
||||
mkhl.direnv
|
||||
ms-python.python
|
||||
ms-python.vscode-pylance
|
||||
ms-python.autopep8
|
||||
james-yu.latex-workshop
|
||||
github.copilot
|
||||
davidanson.vscode-markdownlint
|
||||
@ -53,6 +54,7 @@
|
||||
"[python]" = {
|
||||
"editor.formatOnSave" = true;
|
||||
"editor.formatOnSaveMode" = "modificationsIfAvailable";
|
||||
"editor.defaultFormatter" = "ms-python.autopep8";
|
||||
};
|
||||
|
||||
"[latex]" = {
|
||||
@ -62,11 +64,9 @@
|
||||
|
||||
"[toml]" = {
|
||||
"editor.formatOnSave" = true;
|
||||
"editor.modificationsIfAvailable" = "file";
|
||||
"editor.formatOnSaveMode" = "modificationsIfAvailable";
|
||||
};
|
||||
|
||||
"python.formatting.autopep8Path" = "${pkgs.python311Packages.autopep8}/bin/autopep8";
|
||||
|
||||
"nix.enableLanguageServer" = true;
|
||||
"nix.serverPath" = "${pkgs.nil}/bin/nil";
|
||||
"nix.serverSettings" = {
|
||||
|
Loading…
Reference in New Issue
Block a user