fix vscode user settings
This commit is contained in:
parent
c3e8325932
commit
7580ffb5e9
@ -11,6 +11,9 @@ let
|
|||||||
-w -n \
|
-w -n \
|
||||||
"$@"
|
"$@"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
continue-ver = lib.getVersion
|
||||||
|
inputs.nix-vscode-marketplace.extensions.${pkgs.system}.vscode-marketplace.continue.continue;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
defaultApplications.editor = {
|
defaultApplications.editor = {
|
||||||
@ -171,6 +174,10 @@ in
|
|||||||
"editor.defaultFormatter" = "rust-lang.rust-analyzer";
|
"editor.defaultFormatter" = "rust-lang.rust-analyzer";
|
||||||
"editor.formatOnSave" = true;
|
"editor.formatOnSave" = true;
|
||||||
};
|
};
|
||||||
|
"python.analysis.extraPaths" = [
|
||||||
|
"/home/${config.mainuser}/.vscode/extensions/continue.continue"
|
||||||
|
"/home/${config.mainuser}/.vscode/extensions/continue.continue-${continue-ver}-linux-x64"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user