aboutsummaryrefslogtreecommitdiffstats
path: root/queries/teal
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-125-347/+0
|
* fix(injections): dtd, glimmer.*, razor, tablegen, tealChristian Clason2025-04-271-1/+1
|
* bot(lockfile): update arduino, earthfile, koto, rego, slint, sql, teal, typespecnvim-treesitter-bot[bot]2024-06-041-1/+2
|
* feat: more `@keyword.type` capturesRiley Bruins2024-05-011-5/+5
|
* refactor(format): drop extra indentation for fieldPhạm Huy Hoàng2024-03-212-20/+16
|
* chore: format queriesPhạm Huy Hoàng2024-01-211-2/+2
|
* fix(highlights): improve consistencyObserverOfTime2024-01-191-18/+0
|
* chore: query formattingPham Huy Hoang2024-01-194-106/+241
|
* feat!: align standard captures with upstreamChristian Clason2024-01-191-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 stringsObserverOfTime2024-01-191-0/+17
|
* feat(locals)!: switch to upstream capturesChristian Clason2024-01-191-13/+13
|
* refactor: Remove all `(ERROR) @error` capturesPham Huy Hoang2023-10-251-3/+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.
* chore(injections)!: update injection syntax to 0.9Pham Huy Hoang2023-08-121-7/+10
| | | | | | | | | 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
* use indent.X syntax for captures and properties of set directivesGeorge Harker2023-03-241-2/+2
| | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment
* feat: add `@comment.documentation` where applicableAmaan Qureshi2023-03-051-1/+5
|
* feat(spell): support more languagesLewis Russell2022-09-261-2/+1
|
* feat(spell): upstream spell queries from spellsitterLewis Russell2022-09-061-0/+1
|
* Prefer lua-match over matchLewis Russell2021-11-231-2/+2
| | | | as string.find is much quicker than vim.regex:match*
* fix(teal): highlighting for typesLewis Russell2021-11-041-2/+2
|
* injections(teal): fix cdef injectionStephan Seitz2021-09-251-0/+15
|
* Update teal highlightsStephan Seitz2021-08-024-26/+27
|
* feat(keywords) merge return and yield into keyword.return groupantonk522021-07-041-1/+1
|
* feat(keywords) add keyword.return & keyword.yieldantonk522021-07-041-1/+2
|
* Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos2021-05-071-1/+1
| | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
* Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos2021-04-281-1/+1
| | | | | | | | | | | | * Comment: use `@combined` to create just one tree per buffer There is no need to create a tree per line/block for comments. Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251 * Add injections for scss * Fix jsonc * Combine jsdoc
* Update teal highlightsCorey Williamson2021-03-232-18/+44
|
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-0/+2
| | | Closes #236
* teal: Add C language injection for FFILewis Russell2021-03-091-0/+10
|
* folds(teal): remove record_declaration from foldsStephan Seitz2021-01-301-3/+0
| | | | See: https://github.com/euclidianAce/tree-sitter-teal/commit/c647346911eb6c18c64b5cecc4c4ffa3ebccfe0b
* feat: added more indent querieselianiva2021-01-141-0/+20
|
* Update teal syntax for 0.10Corey Williamson2021-01-051-3/+8
|
* Update for teal-0.9Corey Williamson2020-12-173-47/+76
|
* Update Teal queries and parserStephan Seitz2020-12-031-4/+6
|
* Update teal queriesStephan Seitz2020-11-303-13/+13
|
* Fix typearg brackets not highlighting for multiple typeargsCorey Williamson2020-10-051-1/+1
|
* Set function scopeCorey Williamson2020-10-051-1/+3
|
* Update queries/teal/highlights.scmeuclidianAce2020-10-051-2/+1
| | | Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
* Add teal parserCorey Williamson2020-10-053-0/+103