We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6331500 commit b1e09abCopy full SHA for b1e09ab
lua/neo-tree/ui/renderer.lua
@@ -545,6 +545,7 @@ create_window = function(state)
545
modifiable = false,
546
swapfile = false,
547
filetype = "neo-tree",
548
+ undolevels = -1,
549
},
550
}
551
@@ -600,6 +601,7 @@ create_window = function(state)
600
601
vim.api.nvim_buf_set_option(bufnr, "swapfile", false)
602
vim.api.nvim_buf_set_option(bufnr, "filetype", "neo-tree")
603
vim.api.nvim_buf_set_option(bufnr, "modifiable", false)
604
+ vim.api.nvim_buf_set_option(bufnr, "undolevels", -1)
605
vim.api.nvim_win_set_buf(winid, bufnr)
606
else
607
win = NuiSplit(win_options)
0 commit comments