| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat!: drop modules, general refactor and cleanup | Christian Clason | 2025-05-12 | 5 | -284/+0 |
| | | |||||
| * | feat: more `@keyword.type` captures | Riley Bruins | 2024-05-01 | 1 | -1/+1 |
| | | |||||
| * | feat(t32): update queries from upstream (#6440) | Christoph Sax | 2024-04-14 | 2 | -0/+5 |
| | | | | | Adds support for new node type `elif_block`. | ||||
| * | refactor(format): drop extra indentation for field | Phạm Huy Hoàng | 2024-03-21 | 2 | -10/+7 |
| | | |||||
| * | feat(highlights)!: keyword `@type.qualifier` → `@keyword.modifier` | Jaehwang Jung | 2024-03-16 | 1 | -2/+2 |
| | | |||||
| * | 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 | 3 | -49/+37 |
| | | |||||
| * | feat!: align standard captures with upstream | Christian Clason | 2024-01-19 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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(locals)!: switch to upstream captures | Christian Clason | 2024-01-19 | 1 | -8/+8 |
| | | |||||
| * | fix(t32): update indent queries & test | Christoph Sax | 2023-09-14 | 1 | -18/+4 |
| | | | | | | | | The latest release of the grammar changes the handling of consecutive line breaks. This breaks the existing test for indents. This commit updates the indent queries and fixes the associated test. | ||||
| * | 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 | ||||
| * | feat(t32)!: update queries for new HLL node types | Christoph Sax | 2023-07-30 | 2 | -24/+117 |
| | | | | | | | | | - Lock grammar to version 2.1.1 - Update query for syntax hightlighting - fix missing locals query - reduce number of "(identifier) @variable" highlight queries - revert to capture @function.builtin for PRACTICE call expressions | ||||
| * | lint(locals): use `#set!` to keep query linter happy | Christian Clason | 2023-06-22 | 1 | -1/+1 |
| | | |||||
| * | tests: fix failed tests (#4901) | Pham Huy Hoang | 2023-06-05 | 1 | -5/+3 |
| | | | | fix failed tests for tiger, t32 and wgsl | ||||
| * | feat(t32): add indent rules (#4782) | Christoph Sax | 2023-05-18 | 2 | -0/+37 |
| | | |||||
| * | perf: remove match where possible | Amaan Qureshi | 2023-04-21 | 1 | -3/+3 |
| | | |||||
| * | feat(t32): initial support | xasc | 2022-12-21 | 4 | -0/+178 |
