NixVim: Add Rust

This commit is contained in:
GHOSCHT 2024-12-02 23:08:51 +01:00
parent 265b1ab049
commit dd5a1d52da
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -1,24 +1,28 @@
{ {
programs.nixvim.plugins.lsp = { programs.nixvim.plugins = {
enable = true; rustaceanvim.enable = true;
inlayHints = true;
servers = { lsp = {
ts_ls.enable = true; # TS/JS enable = true;
cssls.enable = true; # CSS inlayHints = true;
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 = { servers = {
# Lua ts_ls.enable = true; # TS/JS
enable = true; cssls.enable = true; # CSS
settings.telemetry.enable = false; 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;
};
}; };
}; };
}; };