diff --git a/home/programs/neovim.nix b/home/programs/neovim.nix index 83b9086..3f64652 100644 --- a/home/programs/neovim.nix +++ b/home/programs/neovim.nix @@ -107,10 +107,16 @@ enableGitStatus = true; closeIfLastWindow = true; buffers = { - followCurrentFile = true; + followCurrentFile = { + enabled = true; + leaveDirsOpen = false; + }; }; filesystem = { - followCurrentFile = true; + followCurrentFile = { + enabled = true; + leaveDirsOpen = false; + }; useLibuvFileWatcher = true; }; };