We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With
vim.opt.foldnestmax = 1
the UFO Treesitter provider
provider_selector = function(bufnr, filetype, buftype) return { 'treesitter' } end,
does not respect foldnestmax, while disabling UFO providers and using
foldnestmax
provider_selector = function(bufnr, filetype, buftype) return '' end, ... vim.opt.foldmethod = 'expr' vim.opt.foldexpr = 'nvim_treesitter#foldexpr()'
does.
See: https://neovim.io/doc/user/options.html#'foldnestmax'
The UFO Treesitter provider should respect foldnestmax.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature description
With
the UFO Treesitter provider
does not respect
foldnestmax
, while disabling UFO providers and usingdoes.
See: https://neovim.io/doc/user/options.html#'foldnestmax'
Describe the solution you'd like
The UFO Treesitter provider should respect foldnestmax.
Additional context
No response
The text was updated successfully, but these errors were encountered: