Commit graph

10 commits

Author SHA1 Message Date
Riley Bruins
8f16c39f5b feat(make): highlight phony prerequisites as functions 2023-11-29 12:31:42 +02:00
Riley Bruins
fb101ed49d feat(make): give targets the function highlight 2023-11-29 12:31:42 +02:00
Pham Huy Hoang
78b54eb7f6 chore(injections)!: update injection syntax to 0.9
Since 0.9, @lang syntax is still available as fallback but will soon be deprecated.
Because of that, new syntax should be adopted once 0.9 becomes the
baseline requirements for nvim-treesitter

- update health check
- update doc
2023-08-12 17:34:15 +02:00
Tyler Miller
5ac8cf8ee5 fix(make/highlights): add define and operators 2023-06-03 23:54:28 +03:00
ObserverOfTime
e3f376ed67 highlights(make): fix captures 2022-11-26 13:17:51 +02:00
Lewis Russell
37398c7d68 feat(spell): support more languages 2022-09-26 13:47:12 +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
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