neovim-flake/config/plugins/lsps.nix

37 lines
743 B
Nix
Raw Normal View History

# LSP setup
{ pkgs, inputs, ... }:
2024-09-02 18:28:53 -07:00
{
extraPackages = with pkgs; [
rust-analyzer
lua-language-server
];
plugins = {
lsp = {
enable = true;
inlayHints = true;
servers = {
bashls.enable = true;
clangd.enable = true;
pyright.enable = true;
nixd.enable = true;
nushell.enable = true;
svelte.enable = true;
tailwindcss.enable = true;
typst-lsp.enable = true;
marksman.enable = true;
};
};
typescript-tools.enable = true;
lsp-lines.enable = true;
rustaceanvim.enable = true;
};
extraPlugins = [
(pkgs.vimUtils.buildVimPlugin {
name = "haskell-tools-nvim";
src = inputs.haskell-tools;
})
];
}