[feat] nvim: enable more lsps
Also, don't install rust-analyzer, install it externally (e.g. rustup)
This commit is contained in:
parent
09e9158b85
commit
ac5e62a37c
1 changed files with 18 additions and 12 deletions
|
@ -141,6 +141,17 @@ in
|
|||
};
|
||||
};
|
||||
gitsigns.enable = true;
|
||||
lint = {
|
||||
enable = true;
|
||||
lintersByFt = {
|
||||
rust = ["typos"];
|
||||
latex = ["chktex" "typos"];
|
||||
markdown = ["typos"];
|
||||
nix = ["statix"];
|
||||
sh = ["dash"];
|
||||
zsh = ["zsh"];
|
||||
};
|
||||
};
|
||||
lsp = {
|
||||
enable = true;
|
||||
servers = {
|
||||
|
@ -149,6 +160,8 @@ in
|
|||
# clangd.enable = true; # Adds ~2GiB
|
||||
html.enable = true;
|
||||
jsonls.enable = true;
|
||||
marksman.enable = true;
|
||||
nixd.enable = true;
|
||||
nil-ls = {
|
||||
enable = true;
|
||||
settings.nix.flake = {
|
||||
|
@ -209,7 +222,11 @@ in
|
|||
mode = "virtualtext";
|
||||
};
|
||||
};
|
||||
rustaceanvim.enable = true;
|
||||
rustaceanvim = {
|
||||
enable = true;
|
||||
# Install through rustup
|
||||
rustAnalyzerPackage = null;
|
||||
};
|
||||
telescope = {
|
||||
enable = true;
|
||||
extensions = {
|
||||
|
@ -226,16 +243,5 @@ in
|
|||
enable = true;
|
||||
settings.auto_close = true;
|
||||
};
|
||||
lint = {
|
||||
enable = true;
|
||||
lintersByFt = {
|
||||
rust = ["typos"];
|
||||
latex = ["chktex" "typos"];
|
||||
markdown = ["typos"];
|
||||
nix = ["statix"];
|
||||
sh = ["dash"];
|
||||
zsh = ["zsh"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue