| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat!: drop modules, general refactor and cleanup | Christian Clason | 2025-05-12 | 5 | -451/+0 |
| | | |||||
| * | feat(go): string regex highlights | Riley Bruins | 2024-12-15 | 1 | -0/+15 |
| | | |||||
| * | fix(go): properly apply injections in strings | Riley Bruins | 2024-12-15 | 1 | -6/+9 |
| | | |||||
| * | bot(lockfile): update c, cpp, css, go, idl, nix, python, ruby | nvim-treesitter-bot[bot] | 2024-08-17 | 1 | -1/+1 |
| | | |||||
| * | fix(go): narrow down } usage | Phạm Huy Hoàng | 2024-07-05 | 1 | -2/+13 |
| | | |||||
| * | 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 | 3 | -34/+24 |
| | | |||||
| * | feat(format-scripts): linewrap predicates | 再生花 | 2024-02-23 | 2 | -3/+10 |
| | | | | "format-ignore".kick() | ||||
| * | fix(go): fix eq to any-of | Ilya Ilyinykh | 2024-02-01 | 1 | -1/+1 |
| | | |||||
| * | feat(go): printf injections | Ilya Ilyinykh | 2024-02-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | https://pkg.go.dev/fmt#pkg-index https://pkg.go.dev/fmt#Fscanf https://pkg.go.dev/fmt#Appendf https://pkg.go.dev/fmt#Sscanf https://pkg.go.dev/testing#T.Skipf https://pkg.go.dev/testing#F.Logf The problem covered here: https://github.com/nvim-treesitter/nvim-treesitter/issues/2917 | ||||
| * | chore: query formatting | Pham Huy Hoang | 2024-01-19 | 5 | -172/+173 |
| | | |||||
| * | refactor: manual pre-cleanup | Pham Huy Hoang | 2024-01-19 | 1 | -2/+2 |
| | | | | | | Moving comments, adding `format-ignore` to lines that will be better with it | ||||
| * | feat!: align standard captures with upstream | Christian Clason | 2024-01-19 | 2 | -13/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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(injections): add printf format strings | ObserverOfTime | 2024-01-19 | 1 | -0/+14 |
| | | |||||
| * | feat(locals)!: switch to upstream captures | Christian Clason | 2024-01-19 | 1 | -27/+27 |
| | | |||||
| * | 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: add Doxygen | Amaan Qureshi | 2023-08-26 | 1 | -1/+1 |
| | | |||||
| * | feat: add re2c | Amaan Qureshi | 2023-08-24 | 1 | -3/+7 |
| | | |||||
| * | chore(injections)!: update injection syntax to 0.9 | Pham Huy Hoang | 2023-08-12 | 1 | -2/+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 | ||||
| * | 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 |
| | | |||||
| * | lint(locals): use `#set!` to keep query linter happy | Christian Clason | 2023-06-22 | 1 | -5/+5 |
| | | |||||
| * | 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 |
| | | |||||
| * | use indent.X syntax for captures and properties of set directives | George Harker | 2023-03-24 | 1 | -8/+8 |
| | | | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment | ||||
| * | feat: add `@comment.documentation` where applicable | Amaan Qureshi | 2023-03-05 | 1 | -6/+32 |
| | | |||||
| * | fix(go): Indent on type switch case properly | Evan Phoenix | 2023-03-03 | 1 | -0/+1 |
| | | |||||
| * | fix(go): apply indents in a communication case in a select statement | Amaan Qureshi | 2023-02-24 | 1 | -0/+1 |
| | | |||||
| * | feat(go): add folds for type switch and switch cases | Laytan Laats | 2023-02-19 | 1 | -0/+4 |
| | | |||||
| * | injections(go): inject regex into some regexp functions | Stephan Seitz | 2022-12-22 | 1 | -0/+12 |
| | | |||||
| * | 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 |
| | | |||||
| * | indents(go): no indent at all composite_literal, indent at struct_type | Stephan Seitz | 2022-08-15 | 1 | -1/+1 |
| | | |||||
| * | injections(go): avoid running queries on all comments | Stephan Seitz | 2022-08-06 | 1 | -5/+0 |
| | | | | | | Fixes #3187 Fixes #3263 | ||||
| * | go folds.scm composit_literal | ray-x | 2022-08-05 | 1 | -0/+2 |
| | | |||||
| * | indents(go): improve `@branch` rules | Stephan Seitz | 2022-08-05 | 1 | -1/+2 |
| | | | | | | | | | - Don't branch at `case` - Let `import_spec_list`/`var_declaration` behave like `const_declaration` Fixes #2166 | ||||
| * | 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 | 2 | -0/+4 |
| | | |||||
| * | fix(go): indent const declaration | kiyan | 2022-07-08 | 1 | -0/+2 |
| | | | | | https://github.com/nvim-treesitter/nvim-treesitter/issues/3104 | ||||
| * | Highlight named fields in struct literals | Pieter van Loon | 2022-07-08 | 1 | -0/+3 |
| | | |||||
| * | fix(go): reduce indent after },) | Akin Sowemimo | 2022-04-18 | 1 | -0/+5 |
| | | |||||
| * | Add c injection for cgo comments | kraftwerk28 | 2022-04-11 | 1 | -0/+5 |
| | | |||||
