From 548c1be854c9fb1eb061cd5457fc0fb40966e6ad Mon Sep 17 00:00:00 2001 From: liv Date: Sat, 10 Aug 2024 14:15:02 +0200 Subject: [PATCH] set EDITOR session var correctly --- home/common/cli/neovim.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/common/cli/neovim.nix b/home/common/cli/neovim.nix index c9401bd..d13d3be 100644 --- a/home/common/cli/neovim.nix +++ b/home/common/cli/neovim.nix @@ -16,6 +16,8 @@ ]; }; + home.sessionVariables.EDITOR = "nvim"; + xdg.configFile."nvim/init.lua".source = ../../../dotfiles/nvim/init.lua; xdg.configFile."nvim/stylua.toml".source = ../../../dotfiles/nvim/stylua.toml; xdg.configFile."nvim/.neoconf.json".source = ../../../dotfiles/nvim/.neoconf.json;