This commit introduces new fold support for comment blocks in Bash, CSS, HTML, JavaScript, Lua, Python, SCSS, TSX, TypeScript, and Vim, enhancing code readability and organization.
8 lines
191 B
Scheme
8 lines
191 B
Scheme
;; extends
|
|
|
|
;; Fold comment blocks (including consecutive single-line comments)
|
|
(comment) @fold
|
|
|
|
;; Fold consecutive single-line comments as a block
|
|
((comment) @fold
|
|
(#match? @fold "^//"))
|