From 62c26e06a571b35116101928a6b13446554dc1b6 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 13 Apr 2024 12:09:36 +0200 Subject: [PATCH] neovim: Switch to nixd rnix-lsp is no longer maintained and the package is currently broken in nixpkgs as it depends on an insecure Nix version. --- users/simon/modules/neovim/default.nix | 4 ++-- users/simon/modules/neovim/init.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/users/simon/modules/neovim/default.nix b/users/simon/modules/neovim/default.nix index 0bb1ce7..7c002f1 100644 --- a/users/simon/modules/neovim/default.nix +++ b/users/simon/modules/neovim/default.nix @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2020-2023 Simon Bruder +# SPDX-FileCopyrightText: 2020-2024 Simon Bruder # # SPDX-License-Identifier: AGPL-3.0-or-later @@ -54,7 +54,7 @@ in haskell-language-server jdt-language-server unstable.ltex-ls - rnix-lsp + nixd rust-analyzer (python3.withPackages (ps: with ps; [ pyls-isort diff --git a/users/simon/modules/neovim/init.lua b/users/simon/modules/neovim/init.lua index 2c6b760..ace8a42 100644 --- a/users/simon/modules/neovim/init.lua +++ b/users/simon/modules/neovim/init.lua @@ -1,4 +1,4 @@ --- SPDX-FileCopyrightText: 2018-2023 Simon Bruder +-- SPDX-FileCopyrightText: 2018-2024 Simon Bruder -- -- SPDX-License-Identifier: AGPL-3.0-or-later @@ -348,7 +348,7 @@ lsp.ltex.setup { lsp.pylsp.setup { on_attach = on_attach, } -lsp.rnix.setup { +lsp.nixd.setup { on_attach = on_attach, } lsp.rust_analyzer.setup {