From 76f7c6695af767afa701ad707c686f48c0ac970a Mon Sep 17 00:00:00 2001 From: stitchy Date: Wed, 18 Dec 2024 08:27:16 +0000 Subject: [PATCH] nvim: fix rust-analyzer --- config/nvim/nvim.lua | 2 +- packages/default.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/nvim/nvim.lua b/config/nvim/nvim.lua index 39e44a1..33dbf2c 100644 --- a/config/nvim/nvim.lua +++ b/config/nvim/nvim.lua @@ -37,7 +37,7 @@ local capabilities = require("cmp_nvim_lsp").default_capabilities() local lspconfig = require('lspconfig') -- Enable some language servers with the additional completion capabilities offered by nvim-cmp -local servers = { 'clangd', 'glsl_analyzer', 'rust_analyzer', 'tinymist', 'vhdl_ls', 'vtsls' } +local servers = { 'clangd', 'glsl_analyzer', 'tinymist', 'rust_analyzer', 'vhdl_ls', 'vtsls' } for _, lsp in ipairs(servers) do lspconfig[lsp].setup { -- on_attach = my_custom_on_attach, diff --git a/packages/default.nix b/packages/default.nix index 3714c40..3c66915 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -80,6 +80,7 @@ in "p7zip" "pinentry" "rust-analyzer" + "rustup" "tinymist" "unzip" "vhdl-ls"