1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-08-24 12:08:11 +02:00

nvim: collapse use statements folds on file open for php.

This commit is contained in:
Henrik Hautakoski 2026-07-03 17:34:47 +02:00
parent 221579b47d
commit ae02575277

View file

@ -4,5 +4,15 @@ return {
dependencies = { dependencies = {
'kevinhwang91/promise-async', 'kevinhwang91/promise-async',
}, },
opts = {} opts = {
close_fold_kinds_for_ft = {
php = {'namespace_use_declaration'}
},
provider_selector = function(bufnr, filetype, buftype)
_ = bufnr
_ = filetype
_ = buftype
return {'treesitter', 'indent'}
end
}
} }