Commit graph

4 commits

Author SHA1 Message Date
Pham Huy Hoang
57a8acf0c4 chore: query formatting 2024-01-19 16:58:37 +01:00
Lewis Russell
2eaf188269 fix(fold): don't include whitespace end regions
Some languages that are difficult to parse via Treesitter may
incorrectly include whitespace lines at the end of regions. This can
makes the calculated folds sub-optimal.

To recitfy, use a custom directive (trim), to calculate the range with
the trailing whitespace lines removed. Note this only works if the
region end column is 0.

Also added folds for Make.
2022-09-12 11:49:51 +01:00
Zheng Piaodan
6b0ddaa9b3 feat: allow to fold markdown sections 2022-08-26 05:54:10 -07:00
Santos Gallegos
6c5f4b1b49 Markdown: update queries 2021-12-21 01:07:22 +01:00