nvim-treesitter-bot[bot]
|
bfe74a4899
|
bot(lockfile): update arduino, awk, bash, c, cpp, css, cuda, go, groovy, haskell, hlsl, html, http, javascript, jsdoc, json, julia, liquid, norg, ocaml, ocaml_interface, php, php_only, phpdoc, python, ql, regex, ruby, rust, scala, slang, tcl, templ, tsx, typescript, v, wing
|
2024-09-05 13:36:22 +00:00 |
|
Riley Bruins
|
e090c5b22d
|
feat(wing): add many missing highlights
...as well as some fold and injection queries.
|
2024-09-02 09:55:48 +02:00 |
|
Riley Bruins
|
9d68e876cc
|
feat: more comment injections
|
2024-06-15 10:40:34 +02:00 |
|
Riley Bruins
|
f58cae6c22
|
feat: more @keyword.type captures
|
2024-05-01 09:59:50 +02:00 |
|
Mark McCulloh
|
40e8c92f99
|
fix(wing): update to new repo (#6446)
|
2024-04-14 15:53:37 +00:00 |
|
Phạm Huy Hoàng
|
722617e672
|
refactor(format): drop extra indentation for field
|
2024-03-21 15:51:26 +01:00 |
|
ObserverOfTime
|
fa38f4e6f9
|
fix(highlights): improve member/property distinction
|
2024-01-19 16:58:37 +01:00 |
|
ObserverOfTime
|
2f38c36294
|
fix(highlights): improve consistency
|
2024-01-19 16:58:37 +01:00 |
|
Pham Huy Hoang
|
57a8acf0c4
|
chore: query formatting
|
2024-01-19 16:58:37 +01:00 |
|
Christian Clason
|
1ae9b0e455
|
feat!: align standard captures with upstream
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"
(3f44b89685/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`
|
2024-01-19 16:58:37 +01:00 |
|
Christian Clason
|
5b90ea2aba
|
feat(locals)!: switch to upstream captures
|
2024-01-19 16:58:37 +01:00 |
|
Mark McCulloh
|
17e77749c1
|
fix(wing): update parser and queries, add maintainer (#5671)
|
2023-11-13 19:04:27 +00:00 |
|
Pham Huy Hoang
|
605a650924
|
chore(wing): update queries from upstream (#5549)
|
2023-10-20 14:02:49 +00:00 |
|
Jaehwang Jung
|
9567185621
|
feat: @spell on comments
|
2023-09-12 17:34:58 +02:00 |
|
Glib Shpychka
|
f460cc8ee7
|
feat(wing): add parser (#5021)
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
|
2023-06-29 10:34:46 +00:00 |
|