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" = {
text = ''
{
"global":
{
"path": ["${pkgs.mtxyz.lsp-path}/bin"]
}
}
'';
text = builtins.toJSON {
global = {
path = [ "${pkgs.mtxyz.lsp-path}/bin" ];
};
servers = {
rust = {
path = [ "${pkgs.mtxyz.lsp-path}/bin" ];
};
};
};
};
};
}

View file

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