| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat(make): fold `define` statements. | Andreas Hartmann | 2025-02-27 | 1 | -0/+1 |
| | | |||||
| * | feat(make): highlight more special characters | Riley Bruins | 2024-08-26 | 1 | -0/+16 |
| | | |||||
| * | feat: standardize and document export keywords | Riley Bruins | 2024-05-13 | 1 | -2/+4 |
| | | | | | | | Many export keywords are captured as `@keyword.import`. This commit makes it so they are all captured like that, and mentions it in the documentation. | ||||
| * | refactor(format): drop extra indentation for field | Phạm Huy Hoàng | 2024-03-21 | 1 | -3/+2 |
| | | |||||
| * | feat(format-scripts): linewrap predicates | 再生花 | 2024-02-23 | 1 | -2/+8 |
| | | | | "format-ignore".kick() | ||||
| * | fix(format): handle list with 300 nodes | Phạm Huy Hoàng | 2024-01-30 | 1 | -2/+1 |
| | | |||||
| * | fix(make): highlight order-only prerequisite pipe | Riley Bruins | 2024-01-26 | 1 | -0/+1 |
| | | |||||
| * | chore: query formatting | Pham Huy Hoang | 2024-01-19 | 3 | -126/+132 |
| | | |||||
| * | feat!: align standard captures with upstream | Christian Clason | 2024-01-19 | 1 | -6/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sharing highlight queries with upstream tree-sitter and Helix is difficult. Solution: Where reasonable, use capture names in tree-sitter's standard list or Helix's Atom-style hierarchy. Specifically: * tree-sitter "standard capture names" (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72): - `@parameter` -> `@variable.parameter` - `@field` -> `@variable.member` - `@namespace` -> `@module` - `@float` -> `@number.float` - `@symbol` -> `@string.special.symbol` - `@string.regex` -> `@string.regexp` - `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below) - `@text.title` -> `@markup.heading` - `@text.literal` -> `@markup.raw` - `@text.reference` -> `@markup.link` - `@text.uri` -> `@markup.link.url` (in markup links) - `@string.special` -> `@markup.link.label` (non-url links) - `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`) * Helix captures (https://docs.helix-editor.com/master/themes.html#syntax-highlighting): - `@method` -> `@function.method` - `@method.call` -> `@function.method.call` - `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}` - `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}` - `@text.uri` -> `@string.special.url` (outside markup) - `@preproc` -> `@keyword.directive` - `@define` -> `@keyword.directive`(`.define`?) - `@storageclass` -> `@keyword.storage` - `@conditional` -> `@keyword.conditional` - `@debug` -> `@keyword.debug` - `@exception` -> `@keyword.exception` - `@include` -> `@keyword.import` - `@repeat` -> `@keyword.repeat` * cleanup - remove some redundant `@conceal` (but still allow it for conceal-only patterns) - remove obsolete `@error` (syntax linting is out of scope for this repo) - sort, cleanup capture list in `CONTRIBUTING.md` | ||||
| * | feat(make): highlight phony prerequisites as functions | Riley Bruins | 2023-11-29 | 1 | -0/+5 |
| | | |||||
| * | feat(make): give targets the function highlight | Riley Bruins | 2023-11-29 | 1 | -0/+2 |
| | | |||||
| * | chore(injections)!: update injection syntax to 0.9 | Pham Huy Hoang | 2023-08-12 | 1 | -3/+6 |
| | | | | | | | | | | 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 | ||||
| * | fix(make/highlights): add `define` and operators | Tyler Miller | 2023-06-03 | 1 | -10/+25 |
| | | |||||
| * | highlights(make): fix captures | ObserverOfTime | 2022-11-26 | 1 | -9/+4 |
| | | |||||
| * | feat(spell): support more languages | Lewis Russell | 2022-09-26 | 1 | -1/+1 |
| | | |||||
| * | fix(fold): don't include whitespace end regions | Lewis Russell | 2022-09-12 | 1 | -0/+7 |
| | | | | | | | | | | | | | 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. | ||||
| * | make: add substitution_reference @operator | Chinmay Dalal | 2022-09-03 | 1 | -0/+1 |
| | | |||||
| * | highlights(make): add all special targets | Lewis Russell | 2022-01-07 | 1 | -0/+15 |
| | | |||||
| * | feat(lang): add make | Lewis Russell | 2021-12-14 | 2 | -0/+109 |
