mirror of
https://github.com/youwen5/neovim-flake.git
synced 2024-11-25 03:03:49 -08:00
36 lines
743 B
Nix
36 lines
743 B
Nix
# LSP setup
|
|
{ pkgs, inputs, ... }:
|
|
{
|
|
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;
|
|
})
|
|
];
|
|
}
|