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:
parent
221579b47d
commit
ae02575277
1 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue