Updates LSP config.

This commit is contained in:
Bailey 2024-06-21 23:10:34 -04:00
parent f213dc48a3
commit 9066d49988
2 changed files with 17 additions and 10 deletions

View file

@ -30,14 +30,16 @@
}; };
xdg.configFile."kate/lspclient/settings.json" = { xdg.configFile."kate/lspclient/settings.json" = {
text = '' text = builtins.toJSON {
{ global = {
"global": path = [ "${pkgs.mtxyz.lsp-path}/bin" ];
{ };
"path": ["${pkgs.mtxyz.lsp-path}/bin"] servers = {
} rust = {
} path = [ "${pkgs.mtxyz.lsp-path}/bin" ];
''; };
};
};
}; };
}; };
} }

View file

@ -8,6 +8,8 @@
universal-ctags, universal-ctags,
nixpkgs-fmt, nixpkgs-fmt,
yaml-language-server, yaml-language-server,
fenix,
stdenv,
... ...
}: }:
@ -15,8 +17,11 @@ symlinkJoin {
name = "lsp-path"; name = "lsp-path";
paths = [ paths = [
biome nil rust-analyzer clang-tools nil nixpkgs-fmt
clang-tools stdenv.cc
rust-analyzer fenix.stable.toolchain
python3Packages.python-lsp-server python3Packages.python-lsp-server
universal-ctags nixpkgs-fmt yaml-language-server yaml-language-server biome
universal-ctags
]; ];
} }