fix(treesitter): disable folding in inspect_tree() (#22885)

This commit is contained in:
Lewis Russell 2023-04-04 13:07:27 +01:00 committed by GitHub
parent 090ade4af6
commit b75acd2f94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -538,6 +538,7 @@ function M.inspect_tree(opts)
vim.wo[w].scrolloff = 5
vim.wo[w].wrap = false
vim.wo[w].foldmethod = 'manual' -- disable folding
vim.bo[b].buflisted = false
vim.bo[b].buftype = 'nofile'
vim.bo[b].bufhidden = 'wipe'