Fix EDITOR=nvim on nixos 23.05

This commit is contained in:
Sam W 2023-05-28 20:58:01 +08:00
parent 7cff2f9d50
commit b4dedbbea3
1 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
# This module sets up a "full" neovim install with plugins and unicorns. It # Vim with some niceties. If you're spending any time in vim you'll want this.
# also makes neovim the default editor and aliases vim to nvim. # For a full-fat vim with all the bells and whistles, see vim-dev
{ {
pkgs, pkgs,
lib, lib,
strings, strings,
... ...
}: { }: {
home.sessionVariables = {"EDITOR" = "nvim";}; home.sessionVariables = lib.mkForce {"EDITOR" = "nvim";};
home.packages = with pkgs; [rnix-lsp ripgrep]; home.packages = with pkgs; [rnix-lsp ripgrep];
programs.neovim = { programs.neovim = {
enable = true; enable = true;