From 0bbd37f3a44ad5eb510129b83d0d475a947087a7 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Sun, 7 Apr 2024 19:15:16 +0200 Subject: [PATCH] updated configuration --- hosts/desktop/home.nix | 1 + modules/home/programs/neovim/plugins/lsp.lua | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/hosts/desktop/home.nix b/hosts/desktop/home.nix index cb89bdb..bdeded7 100644 --- a/hosts/desktop/home.nix +++ b/hosts/desktop/home.nix @@ -27,6 +27,7 @@ gthumb unstable.arduino-ide unstable.prismlauncher-qt5 + blender ]; home.sessionVariables = { diff --git a/modules/home/programs/neovim/plugins/lsp.lua b/modules/home/programs/neovim/plugins/lsp.lua index da621bc..d9a9d9a 100644 --- a/modules/home/programs/neovim/plugins/lsp.lua +++ b/modules/home/programs/neovim/plugins/lsp.lua @@ -19,6 +19,13 @@ vim.g.rustaceanvim = { on_attach = function(client, bufnr) require("lsp-inlayhints").on_attach(client, bufnr) end, + default_settings = { + ['rust-analyzer'] = { + cargo = { + features = { "ssr" } + }, + }, + }, }, }