| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat!: drop modules, general refactor and cleanup | Christian Clason | 2025-05-12 | 1 | -254/+0 |
| | | |||||
| * | feat(go): string regex highlights | Riley Bruins | 2024-12-15 | 1 | -0/+15 |
| | | |||||
| * | feat: more `@keyword.type` captures | Riley Bruins | 2024-05-01 | 1 | -3/+6 |
| | | |||||
| * | fix(go): update queries from upstream | Amaan Qureshi | 2024-04-10 | 1 | -1/+1 |
| | | | | | also bump templ to match | ||||
| * | 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/+7 |
| | | | | "format-ignore".kick() | ||||
| * | chore: query formatting | Pham Huy Hoang | 2024-01-19 | 1 | -86/+67 |
| | | |||||
| * | feat!: align standard captures with upstream | Christian Clason | 2024-01-19 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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` | ||||
| * | refactor: Remove all `(ERROR) @error` captures | Pham Huy Hoang | 2023-10-25 | 1 | -4/+0 |
| | | | | | | | | | | | | | As discussed in PR#5421, capturing `@error` is inconsistent, requiring deep nesting (or priority) in order to correctly have red backgrounds to it. Some queries has this capture, some don't. For consistency purposes, removing all of them is more preferable. For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)` to your custom queries. | ||||
| * | feat(go): add `max` and `min` to `@function.builtin` | Yuki Ito | 2023-08-10 | 1 | -0/+2 |
| | | |||||
| * | queries/*/highlights.scm : remove `@spell` for strings | ShellCode33 | 2023-08-07 | 1 | -1/+1 |
| | | |||||
| * | fix(go): properly highlight chan/map (#4875) | Amaan Qureshi | 2023-05-30 | 1 | -2/+2 |
| | | |||||
| * | fear(go): add `clear` to `@function.builtin` | Yuki Ito | 2023-05-26 | 1 | -2/+3 |
| | | |||||
| * | highlights(go): add some highlights | mohsen | 2023-05-21 | 1 | -4/+10 |
| | | | | | | | | - added missing operators - added iota constant - added comparable type - edited go keyword types | ||||
| * | feat(go): highlight constructors, remove _ as `@constant` | Amaan Qureshi | 2023-05-02 | 1 | -3/+8 |
| | | |||||
| * | feat: add `@comment.documentation` where applicable | Amaan Qureshi | 2023-03-05 | 1 | -6/+32 |
| | | |||||
| * | highlights(go): add `@label` | Stephan Seitz | 2022-12-04 | 1 | -0/+2 |
| | | |||||
| * | add golang type definition highlight | Viorel Craescu | 2022-11-21 | 1 | -0/+1 |
| | | |||||
| * | feat(spell): support more languages | Lewis Russell | 2022-09-26 | 1 | -4/+2 |
| | | |||||
| * | feat(spell): upstream spell queries from spellsitter | Lewis Russell | 2022-09-06 | 1 | -0/+8 |
| | | |||||
| * | Split func/method definition from calls in Go highlighting queries | lfenzo | 2022-08-03 | 1 | -2/+2 |
| | | |||||
| * | add go1.18 any type | Viorel Craescu | 2022-07-10 | 1 | -0/+1 |
| | | |||||
| * | remove type definition | Viorel Craescu | 2022-07-09 | 1 | -1/+0 |
| | | |||||
| * | add type def highlight, add field declaration highlight and remove constant ↵ | Viorel Craescu | 2022-07-09 | 1 | -3/+2 |
| | | | | | highlight | ||||
| * | add method spec highlight and block folds (#3151) | Viorel Craescu | 2022-07-09 | 1 | -0/+3 |
| | | |||||
| * | Highlight named fields in struct literals | Pieter van Loon | 2022-07-08 | 1 | -0/+3 |
| | | |||||
| * | highlights(go): highlight `package_identifier` as `@namespace` (#2371) | Stephan Seitz | 2022-01-28 | 1 | -1/+1 |
| | | |||||
| * | highlights(go): highlights "~" | Stephan Seitz | 2022-01-09 | 1 | -0/+1 |
| | | | | | | Follow upstream change https://github.com/tree-sitter/tree-sitter-go/commit/beb36fc9be211046d43a165eb8d885bcde6004a1 | ||||
| * | Use `@keyword.function` consistently | Sergio Alejandro Vargas | 2021-07-06 | 1 | -1/+1 |
| | | |||||
| * | feat(keywords) merge return and yield into keyword.return group | antonk52 | 2021-07-04 | 1 | -3/+1 |
| | | |||||
| * | feat(keywords) add keyword.return & keyword.yield | antonk52 | 2021-07-04 | 1 | -1/+4 |
| | | |||||
| * | highlights(go): modernize highlights.scm | Stephan Seitz | 2021-07-01 | 1 | -67/+106 |
| | | |||||
| * | Use #any-of? instead of #match? where posible | Joakker | 2021-06-25 | 1 | -2/+9 |
| | | |||||
| * | highlights(go): Highlight const_declaration | Stephan Seitz | 2021-04-07 | 1 | -0/+3 |
| | | | | | Fixes #1157 | ||||
| * | go: add builtin types | Yuki Ito | 2021-03-19 | 1 | -0/+6 |
| | | |||||
| * | go: add builtin functions | Yuki Ito | 2021-03-16 | 1 | -0/+7 |
| | | |||||
| * | go: Add package_identifier as variable | rockerBOO | 2020-12-10 | 1 | -0/+1 |
| | | |||||
| * | ci: fix wrong queries | Thomas Vigouroux | 2020-09-11 | 1 | -1/+1 |
| | | |||||
| * | fix(queries): use vim-match for non lua regexes | Steven Sojka | 2020-08-16 | 1 | -3/+3 |
| | | |||||
| * | fixes golang method highlights (overwritten by parameter in the ordering) | winwisely268 | 2020-07-22 | 1 | -15/+15 |
| | | |||||
| * | Add highlights.scm for Go | Stephan Seitz | 2020-06-07 | 1 | -0/+136 |
