added autopep8 extension and fixed toml config

This commit is contained in:
Kristian Krsnik 2023-10-15 14:44:31 +02:00
parent f7b84c1de6
commit 9cc53818e3
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85

View File

@ -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" = {