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 = {
enable = true;
inlayHints = true;
programs.nixvim.plugins = {
rustaceanvim.enable = true;
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
lsp = {
enable = true;
inlayHints = true;
lua_ls = {
# Lua
enable = true;
settings.telemetry.enable = false;
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;
};
};
};
};