Skip to content

Commit

Permalink
Set root directory to CWD
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhomer committed Oct 11, 2024
1 parent dcacd33 commit dd4f49d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dotfiles/nvim/.config/nvim/lua/config/options.lua
Original file line number Diff line number Diff line change
@@ -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" }
1 change: 1 addition & 0 deletions dotfiles/nvim/.config/nvim/lua/plugins/neo-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ return {
"nvim-neo-tree/neo-tree.nvim",
opts = {
filesystem = {
bind_to_cwd = true,
filtered_items = {
visible = true,
},
Expand Down

0 comments on commit dd4f49d

Please sign in to comment.