| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat!: drop modules, general refactor and cleanup | Christian Clason | 2025-05-12 | 5 | -658/+0 |
| | | |||||
| * | feat(c-family): inherit injections | ObserverOfTime | 2025-05-12 | 1 | -1/+1 |
| | | |||||
| * | fix(c): highlight `"."` as `@punctuation.delimiter` | Riley Bruins | 2025-03-18 | 1 | -1/+1 |
| | | | | | Aligns C with the other language highlights | ||||
| * | feat(c): use `@constant.macro` for macro identifiers (#7266) | Omar Valdez | 2024-10-20 | 1 | -2/+11 |
| | | |||||
| * | refactor(queries): Remove quotes from properties in set! directive | Omar Valdez | 2024-07-28 | 1 | -1/+1 |
| | | |||||
| * | feat(predicates)!: rename `has-type` to `kind-eq` to align with Helix | Christian Clason | 2024-06-02 | 1 | -3/+3 |
| | | | | | No point in having a different name for the same predicate. | ||||
| * | feat(c): inject printf in concatenated strings | Omar Valdez | 2024-05-05 | 1 | -8/+28 |
| | | |||||
| * | feat: import statement folds for common languages | Riley Bruins | 2024-05-01 | 1 | -0/+1 |
| | | |||||
| * | feat: more `@keyword.type` captures | Riley Bruins | 2024-05-01 | 1 | -4/+7 |
| | | |||||
| * | fix(c): don't highlight preproc_arg | Jaehwang Jung | 2024-03-27 | 1 | -3/+0 |
| | | | | | | | `preproc_arg` is used for the body of `#define` macro definition, which is not appropriate to highlight with `@function.macro`. In addition, this region has an injection to C, so it will get highlights anyway. | ||||
| * | refactor(format): drop extra indentation for field | Phạm Huy Hoàng | 2024-03-21 | 3 | -48/+40 |
| | | |||||
| * | feat(highlights)!: `@keyword.storage` → `@keyword.modifier` | Jaehwang Jung | 2024-03-16 | 1 | -2/+2 |
| | | |||||
| * | feat(highlights)!: keyword `@type.qualifier` → `@keyword.modifier` | Jaehwang Jung | 2024-03-16 | 1 | -1/+1 |
| | | |||||
| * | fix(c): improve doxygen comment matching (#6278) | Chad Condon | 2024-03-11 | 1 | -1/+1 |
| | | |||||
| * | feat(c): local label highlights | Riley Bruins | 2024-02-26 | 1 | -0/+5 |
| | | |||||
| * | chore: format queries | Phạm Huy Hoàng | 2024-01-21 | 2 | -4/+4 |
| | | |||||
| * | Fixup format (#5934) | Phạm Huy Hoàng | 2024-01-20 | 1 | -0/+1 |
| | | | | | | | | * fix(format): newline between top-level field defs * fixup: newline between node and comment * fixup: optimize pattern | ||||
| * | chore: query formatting | Pham Huy Hoang | 2024-01-19 | 5 | -120/+207 |
| | | |||||
| * | refactor: manual pre-cleanup | Pham Huy Hoang | 2024-01-19 | 2 | -44/+52 |
| | | | | | | Moving comments, adding `format-ignore` to lines that will be better with it | ||||
| * | feat!: align standard captures with upstream | Christian Clason | 2024-01-19 | 1 | -17/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+67 |
| | | |||||
| * | feat(locals)!: switch to upstream captures | Christian Clason | 2024-01-19 | 1 | -19/+19 |
| | | |||||
| * | refactor: Remove all `(ERROR) @error` captures | Pham Huy Hoang | 2023-10-25 | 1 | -2/+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. | ||||
| * | fix(c): add missing folds | Amaan Qureshi | 2023-10-04 | 1 | -0/+2 |
| | | |||||
| * | feat: add Doxygen | Amaan Qureshi | 2023-08-26 | 1 | -1/+5 |
| | | |||||
| * | feat: add re2c | Amaan Qureshi | 2023-08-24 | 1 | -0/+4 |
| | | |||||
| * | chore(c-family): inject all preproc args again | Amaan Qureshi | 2023-08-13 | 1 | -11/+1 |
| | | |||||
| * | feat(c): mention how to highlight K&R functions | Amaan Qureshi | 2023-08-13 | 1 | -0/+23 |
| | | |||||
| * | chore(injections)!: update injection syntax to 0.9 | Pham Huy Hoang | 2023-08-12 | 1 | -7/+18 |
| | | | | | | | | | | 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(c-family): inject into preproc args in preproc defs when it spans ↵ | Amaan Qureshi | 2023-08-11 | 1 | -0/+2 |
| | | | | | multiple lines only | ||||
| * | feat(c): update highlights | Amaan Qureshi | 2023-08-11 | 1 | -3/+40 |
| | | |||||
| * | chore: update C, improve preproc_arg highlights | Amaan Qureshi | 2023-07-27 | 1 | -0/+8 |
| | | |||||
| * | fix(c): only inject in preproc function calls/definitions | Amaan Qureshi | 2023-07-27 | 1 | -1/+2 |
| | | |||||
| * | fix(c)!: update C, CPP parsers and queries | Amaan Qureshi | 2023-07-27 | 4 | -82/+58 |
| | | | | also update derived parsers (arduino, cuda, glsl, hlsl, ispc, objc) | ||||
| * | lint(locals): use `#set!` to keep query linter happy | Christian Clason | 2023-06-22 | 1 | -2/+2 |
| | | |||||
| * | fix(highlights): lower priority for codeblocks with injections (#4905) | Christian Clason | 2023-06-05 | 1 | -4/+2 |
| | | |||||
| * | fix(c): types are optional in sized_type_specifier | Amaan Qureshi | 2023-04-21 | 1 | -1/+1 |
| | | |||||
| * | feat(c): highlight parenthesized function pointer decl identifiers as ↵ | Amaan Qureshi | 2023-04-21 | 1 | -1/+6 |
| | | | | | `@function` | ||||
| * | fix(c_indents): fix expression leaking indents | Pham Huy Hoang | 2023-04-08 | 1 | -1/+7 |
| | | |||||
| * | use indent.X syntax for captures and properties of set directives | George Harker | 2023-03-24 | 1 | -30/+31 |
| | | | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment | ||||
| * | split delimiter into open_delimiter and close_delimiter | George Harker | 2023-03-24 | 1 | -2/+4 |
| | | |||||
| * | feat: add `@comment.documentation` where applicable | Amaan Qureshi | 2023-03-05 | 1 | -0/+3 |
| | | |||||
| * | highlights(c): extern in linkage specification | ObserverOfTime | 2023-01-26 | 1 | -0/+3 |
| | | |||||
| * | indents(c): update if cases | Pham Huy Hoang | 2023-01-14 | 1 | -50/+55 |
| | | |||||
| * | indents(c): Refactor indent queries | Pham Huy Hoang | 2023-01-14 | 1 | -11/+75 |
| | | |||||
| * | indents(c): treat `"#ifndef"`, `"#elif"` like `"#ifdef"` | Stephan Seitz | 2022-12-31 | 1 | -0/+2 |
| | | |||||
| * | highlights: create subscoping for ternary operator | Stephan Seitz | 2022-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | After https://github.com/nvim-treesitter/nvim-treesitter/issues/470, we decided to use `@conditional` for ternary operator instead of operator despite `@conditional` is documented for keywords only. A sub-scoping can make it easier for people to highlight this operator group differently. Also unify the usage of `@conditional...` across languages. | ||||
| * | highlights(c): primitive type as builtin | Aaron Rancsik | 2022-12-01 | 1 | -1/+2 |
| | | |||||
| * | highlights(c): use more specific groups | ObserverOfTime | 2022-11-26 | 1 | -8/+9 |
| | | | | | Co-Authored-By: Stephan Seitz <stephan.seitz@fau.de> | ||||
| * | highlights: use @preproc where appropriate | ObserverOfTime | 2022-10-15 | 1 | -1/+1 |
| | | |||||
