mirror of https://github.com/wlcx/home.git
Fix EDITOR=nvim on nixos 23.05
This commit is contained in:
parent
7cff2f9d50
commit
b4dedbbea3
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue