Add fold support for comment blocks in PHP
Introduce a new query file to enable folding of comment blocks, including docblocks, enhancing code readability and organization.
This commit is contained in:
parent
442d10363b
commit
51e5c2a602
|
|
@ -0,0 +1,4 @@
|
|||
;; extends
|
||||
|
||||
;; Fold comment blocks (including /** */ docblocks)
|
||||
(comment) @fold
|
||||
|
|
@ -26,7 +26,7 @@ return {
|
|||
-- Open folds when searching
|
||||
open_fold_hl_timeout = 150,
|
||||
close_fold_kinds_for_ft = {
|
||||
default = { 'imports', 'comment' },
|
||||
default = { 'imports' },
|
||||
},
|
||||
preview = {
|
||||
win_config = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue