Skip to content

Commit a8385fc

Browse files
committed
Update nvim-tree configuration
The config option `respect_buf_cwd` was moved to the setup function See: nvim-tree/nvim-tree.lua#674
1 parent a376a14 commit a8385fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/config/nvim-tree.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ if not present then
33
return
44
end
55

6-
vim.g.nvim_tree_respect_buf_cwd = 1
7-
86
local tree_cb = require'nvim-tree.config'.nvim_tree_callback
97

108
nvim_tree.setup {
119
hijack_cursor = true,
10+
respect_buf_cwd = true,
1211
view = {
1312
width = 60,
1413
mappings = {

0 commit comments

Comments
 (0)