diff --git a/dotfiles/nvim/.config/nvim/lua/config/options.lua b/dotfiles/nvim/.config/nvim/lua/config/options.lua index 3ea1454f..20bd1fcc 100644 --- a/dotfiles/nvim/.config/nvim/lua/config/options.lua +++ b/dotfiles/nvim/.config/nvim/lua/config/options.lua @@ -1,3 +1,5 @@ -- Options are automatically loaded before lazy.nvim startup -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Add any additional options here + +vim.g.root_spec = { "cwd" } diff --git a/dotfiles/nvim/.config/nvim/lua/plugins/neo-tree.lua b/dotfiles/nvim/.config/nvim/lua/plugins/neo-tree.lua index 405aecaf..d5cb6bdb 100644 --- a/dotfiles/nvim/.config/nvim/lua/plugins/neo-tree.lua +++ b/dotfiles/nvim/.config/nvim/lua/plugins/neo-tree.lua @@ -2,6 +2,7 @@ return { "nvim-neo-tree/neo-tree.nvim", opts = { filesystem = { + bind_to_cwd = true, filtered_items = { visible = true, },