summaryrefslogtreecommitdiff
path: root/queries/markdown/folds.scm
AgeCommit message (Collapse)Author
2022-09-12fix(fold): don't include whitespace end regionsLewis Russell
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-08-26feat: allow to fold markdown sectionsZheng Piaodan
2021-12-21Markdown: update queriesSantos Gallegos