| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat!: drop modules, general refactor and cleanup | Christian Clason | 2025-05-12 | 2 | -36/+0 |
| | | |||||
| * | feat(gomod): support `tool` directive (#7649) | Yuki Ito | 2025-02-19 | 1 | -0/+4 |
| | | |||||
| * | feat(gomod): punctuation, toolchain highlights | Riley Bruins | 2024-12-02 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | Reference file: ```gomod module github.com/klauspost/reedsolomon go 1.21 require github.com/klauspost/cpuid/v2 v2.2.8 require golang.org/x/sys v0.24.0 // indirect retract ( v1.12.2 // https://github.com/klauspost/reedsolomon/pull/283 v1.11.6 // https://github.com/klauspost/reedsolomon/issues/240 [v1.11.3, v1.11.5] // https://github.com/klauspost/reedsolomon/pull/238 v1.11.2 // https://github.com/klauspost/reedsolomon/pull/229 ) ``` | ||||
| * | chore: query formatting | Pham Huy Hoang | 2024-01-19 | 2 | -3/+4 |
| | | |||||
| * | feat!: align standard captures with upstream | Christian Clason | 2024-01-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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(gomod): highlight the `toolchain` directive (#5795) | Vincent Rischmann | 2023-12-15 | 1 | -0/+1 |
| | | |||||
| * | feat: @spell on comments | Jaehwang Jung | 2023-09-12 | 1 | -1/+1 |
| | | |||||
| * | chore(injections)!: update injection syntax to 0.9 | Pham Huy Hoang | 2023-08-12 | 1 | -1/+2 |
| | | | | | | | | | | 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 | ||||
| * | highlight for module path | ray-x | 2023-02-17 | 1 | -0/+1 |
| | | |||||
| * | Add support for new golang `go.work` files | Omer Tuchfeld | 2021-12-18 | 1 | -0/+1 |
| | | | | | | | | | | The new golang 1.18 version (currently in beta) [introduced](https://github.com/golang/go/issues/45713) a new file type called `go.work`. This commit adds support for the syntax of that file using the https://github.com/omertuc/tree-sitter-go-work repository That repository is heavily based on previous work in the https://github.com/camdencheek/tree-sitter-go-mod repository, with a few minor changes to make it work on the very similar `go.work` files. | ||||
| * | Add go-mod tree-sitter config | Camden Cheek | 2021-04-28 | 1 | -0/+17 |
| Adds a tree-sitter config for go.mod files as well as highlighting queries. | |||||
