nvim-treesitter-bot[bot]
|
69170c9314
|
bot(lockfile): update apex, editorconfig, elixir, ledger, markdown, markdown_inline, sflog, soql, sosl, styled, swift, xresources
|
2024-12-02 07:45:02 +00:00 |
|
Amaan Qureshi
|
cbc0d1d96e
|
fix(apex): remove unused rule
|
2024-10-16 08:35:54 +02:00 |
|
Heber
|
84bdd59c03
|
fix(apex): update parser and queries (#7230)
|
2024-10-10 20:57:54 +00:00 |
|
Heber
|
7821feb7e7
|
fix(apex): update parser and highlights
|
2024-10-05 16:35:26 +00:00 |
|
Heber
|
5c42228e58
|
feat(apex): update parser and highlights (#7151)
|
2024-09-16 08:15:57 +02:00 |
|
Sarath Addanki
|
c29989f5d7
|
apex: highlights: change the constant variable order to recognize it (#6779)
|
2024-06-17 23:29:06 +09: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 |
|
Phạm Huy Hoàng
|
722617e672
|
refactor(format): drop extra indentation for field
|
2024-03-21 15:51:26 +01:00 |
|
Jaehwang Jung
|
998b230a77
|
feat(highlights)!: keyword @type.qualifier → @keyword.modifier
|
2024-03-16 20:51:16 +08:00 |
|
Phạm Huy Hoàng
|
62b0bb4f24
|
feat(format): extra newline after modeline
|
2024-02-29 23:05:30 +09:00 |
|
dundargoc
|
9bc21966f2
|
fix: typos
|
2024-02-19 17:45:54 +01:00 |
|
Phạm Huy Hoàng
|
77e298e4de
|
chore: format queries
|
2024-01-21 23:55:02 +09: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 |
|
Pham Huy Hoang
|
edee83272e
|
refactor: manual pre-cleanup
Moving comments, adding `format-ignore` to lines that will be better
with it
|
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 |
|
Xi Xiao
|
280cf6fddd
|
feat: add parsers and queries for apex, sosl, soql (#5396)
|
2023-09-17 20:00:21 +03:00 |
|