From 29410175891d8c61ec36a09fdacbb3dc5320f913 Mon Sep 17 00:00:00 2001 From: Sam Willcocks Date: Fri, 18 Aug 2023 13:02:12 +0200 Subject: [PATCH] friendship ended with rnix, now nil is my best friend --- home/vim-dev/default.nix | 1 + home/vim-dev/dev.lua | 2 +- home/vim.nix | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/home/vim-dev/default.nix b/home/vim-dev/default.nix index fdf5ebf..c6624a4 100644 --- a/home/vim-dev/default.nix +++ b/home/vim-dev/default.nix @@ -4,6 +4,7 @@ system, ... }: { + home.packages = with pkgs; [nil]; programs.neovim.plugins = with pkgs.vimPlugins; [ # More fancy shit diff --git a/home/vim-dev/dev.lua b/home/vim-dev/dev.lua index 5e4676d..24fc7ef 100644 --- a/home/vim-dev/dev.lua +++ b/home/vim-dev/dev.lua @@ -61,7 +61,7 @@ require'lspconfig'.pylsp.setup{ ), } } -require'lspconfig'.rnix.setup{ +require'lspconfig'.nil_ls.setup{ on_attach = on_attach, capabilities = capabilities, } diff --git a/home/vim.nix b/home/vim.nix index 5768a9a..48113ba 100644 --- a/home/vim.nix +++ b/home/vim.nix @@ -7,7 +7,7 @@ ... }: { home.sessionVariables = lib.mkForce {"EDITOR" = "nvim";}; - home.packages = with pkgs; [rnix-lsp ripgrep]; + home.packages = with pkgs; [ripgrep]; programs.neovim = { enable = true; viAlias = true;