vectorcode: add enableLsp toggle (defaults to true) (#395487)

This commit is contained in:
Gaétan Lepage
2025-04-02 15:51:31 +02:00
committed by GitHub
+19 -14
View File
@@ -3,6 +3,8 @@
python3Packages,
fetchFromGitHub,
versionCheckHook,
lspSupport ? true,
}:
python3Packages.buildPythonApplication rec {
@@ -21,20 +23,23 @@ python3Packages.buildPythonApplication rec {
pdm-backend
];
dependencies = with python3Packages; [
chromadb
httpx
numpy
pathspec
psutil
pygments
sentence-transformers
shtab
tabulate
transformers
tree-sitter
tree-sitter-language-pack
];
dependencies =
with python3Packages;
[
chromadb
httpx
numpy
pathspec
psutil
pygments
sentence-transformers
shtab
tabulate
transformers
tree-sitter
tree-sitter-language-pack
]
++ lib.optionals lspSupport optional-dependencies.lsp;
optional-dependencies = with python3Packages; {
intel = [