feat(nvim): move language servers to each language's .nix file
This commit is contained in:
@@ -14,6 +14,10 @@ lib.my.makeHomePackageConfig {
|
||||
"go"
|
||||
];
|
||||
extraConfig = {
|
||||
my.home.home.packages = with pkgs; [
|
||||
gotools
|
||||
gopls
|
||||
];
|
||||
my.persist.homeDirs = [
|
||||
"go"
|
||||
];
|
||||
|
||||
@@ -15,6 +15,7 @@ lib.my.makeSwitch {
|
||||
config' = {
|
||||
my.home.home.packages = with pkgs; [
|
||||
openjdk24
|
||||
java-language-server
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,8 +16,10 @@ lib.my.makeSwitch {
|
||||
my.home = {
|
||||
home.packages = with pkgs; [
|
||||
nodejs
|
||||
|
||||
typescript
|
||||
|
||||
nodePackages.typescript-language-server
|
||||
vue-language-server
|
||||
];
|
||||
home.file.".npmrc".text = ''
|
||||
prefix = ''${HOME}/.npm-global
|
||||
|
||||
@@ -15,6 +15,8 @@ lib.my.makeSwitch {
|
||||
config' = {
|
||||
my.home.home.packages = with pkgs; [
|
||||
luajit
|
||||
stylua
|
||||
lua-language-server
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@ lib.my.makeHomePackageConfig {
|
||||
extraConfig = {
|
||||
my.home.home.packages = with pkgs; [
|
||||
uv
|
||||
pyright
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,8 +21,11 @@ lib.my.makeSwitch {
|
||||
"rust-src"
|
||||
"rustc"
|
||||
"rustfmt"
|
||||
"rust-analyzer"
|
||||
])
|
||||
evcxr # rust repl
|
||||
|
||||
pest-ide-tools
|
||||
];
|
||||
home.file.".cargo/config.toml".text = ''
|
||||
[source.crates-io]
|
||||
|
||||
Reference in New Issue
Block a user