2024-08-24 23:36:19 -07:00
|
|
|
# LSP setup
|
2024-09-12 15:42:33 -07:00
|
|
|
{ pkgs, inputs, ... }:
|
2024-09-02 18:28:53 -07:00
|
|
|
{
|
2024-09-12 16:05:46 -07:00
|
|
|
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;
|
2024-10-08 00:06:40 -07:00
|
|
|
tinymist.enable = true;
|
2024-09-12 16:05:46 -07:00
|
|
|
marksman.enable = true;
|
|
|
|
};
|
2024-08-24 23:36:19 -07:00
|
|
|
};
|
2024-09-12 16:05:46 -07:00
|
|
|
typescript-tools.enable = true;
|
|
|
|
lsp-lines.enable = true;
|
|
|
|
rustaceanvim.enable = true;
|
2024-08-24 23:36:19 -07:00
|
|
|
};
|
2024-09-12 16:05:46 -07:00
|
|
|
|
2024-08-24 23:36:19 -07:00
|
|
|
extraPlugins = [
|
|
|
|
(pkgs.vimUtils.buildVimPlugin {
|
|
|
|
name = "haskell-tools-nvim";
|
2024-09-12 15:42:33 -07:00
|
|
|
src = inputs.haskell-tools;
|
2024-08-24 23:36:19 -07:00
|
|
|
})
|
|
|
|
];
|
|
|
|
}
|