mirror of
https://github.com/exo-explore/exo.git
synced 2026-04-18 21:09:56 -04:00
## Changes Mostly chore changes around vscode and jetbrains workspace settings, and some basedpyright settings tweaks, to allow direnv to work and nixd autocomplete with flake parts to work
32 lines
1012 B
JSON
32 lines
1012 B
JSON
{
|
|
"files.associations": {
|
|
"*.nix": "nix",
|
|
},
|
|
"nix.enableLanguageServer": true,
|
|
"nix.serverPath": "nixd",
|
|
"nix.serverSettings": {
|
|
"nixd": {
|
|
"formatting": {
|
|
"command": ["nixpkgs-fmt"]
|
|
},
|
|
"nixpkgs": {
|
|
"expr": "(builtins.getFlake \"path:${workspaceFolder}\").currentSystem.config._module.args.pkgs"
|
|
},
|
|
"options": {
|
|
"flake-parts": {
|
|
"expr": "(builtins.getFlake \"path:${workspaceFolder}\").debug.options"
|
|
},
|
|
"flake-parts-perSystem": {
|
|
"expr": "(builtins.getFlake \"path:${workspaceFolder}\").currentSystem.options"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"[nix]": {
|
|
"editor.defaultFormatter": "jnoortheen.nix-ide"
|
|
},
|
|
|
|
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
|
|
"basedpyright.analysis.configFilePath": "${workspaceFolder}/pyproject.toml",
|
|
"basedpyright.importStrategy": "fromEnvironment",
|
|
} |