Commit graph

4 commits

Author SHA1 Message Date
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
Chinmay Dalal
84a7219d16 make: add substitution_reference @operator 2022-09-03 05:55:14 -07:00
Lewis Russell
c090007a88 highlights(make): add all special targets 2022-01-07 22:28:16 +01:00
Lewis Russell
567c644e53 feat(lang): add make 2021-12-14 14:59:38 +01:00