From b4dedbbea395af954c73a59d2b230507ecbdb4ee Mon Sep 17 00:00:00 2001 From: Sam Willcocks Date: Sun, 28 May 2023 20:58:01 +0800 Subject: [PATCH] Fix EDITOR=nvim on nixos 23.05 --- home/vim.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/vim.nix b/home/vim.nix index 4f5e4a1..5768a9a 100644 --- a/home/vim.nix +++ b/home/vim.nix @@ -1,12 +1,12 @@ -# This module sets up a "full" neovim install with plugins and unicorns. It -# also makes neovim the default editor and aliases vim to nvim. +# Vim with some niceties. If you're spending any time in vim you'll want this. +# For a full-fat vim with all the bells and whistles, see vim-dev { pkgs, lib, strings, ... }: { - home.sessionVariables = {"EDITOR" = "nvim";}; + home.sessionVariables = lib.mkForce {"EDITOR" = "nvim";}; home.packages = with pkgs; [rnix-lsp ripgrep]; programs.neovim = { enable = true;