nix-config/home/features/coding/nixvim/lsp.nix

30 lines
661 B
Nix
Raw Normal View History

2024-12-02 20:15:01 +01:00
{
2024-12-02 23:08:51 +01:00
programs.nixvim.plugins = {
rustaceanvim.enable = true;
2024-12-02 20:15:01 +01:00
2024-12-02 23:08:51 +01:00
lsp = {
enable = true;
inlayHints = true;
2024-12-02 20:15:01 +01:00
2024-12-02 23:08:51 +01:00
servers = {
ts_ls.enable = true; # TS/JS
cssls.enable = true; # CSS
html.enable = true; # HTML
pyright.enable = true; # Python
marksman.enable = true; # Markdown
nil_ls.enable = true; # Nix
dockerls.enable = true; # Docker
bashls.enable = true; # Bash
clangd.enable = true; # C/C++
yamlls.enable = true; # YAML
lua_ls = {
# Lua
enable = true;
settings.telemetry.enable = false;
};
2024-12-02 20:15:01 +01:00
};
};
};
}