mirror of
https://github.com/pnx/dotfiles
synced 2026-08-24 03:58:13 +02:00
nvim: collapse use statements folds on file open for php.
This commit is contained in:
parent
221579b47d
commit
ae02575277
1 changed files with 11 additions and 1 deletions
|
|
@ -4,5 +4,15 @@ return {
|
|||
dependencies = {
|
||||
'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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue