Pham Huy Hoang
107e61afb7
refactor: Remove all (ERROR) @error captures
...
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.
2023-10-25 18:18:50 +02:00
Pham Huy Hoang
78b54eb7f6
chore(injections)!: update injection syntax to 0.9
...
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
2023-08-12 17:34:15 +02:00
George Harker
cb568af539
use indent.X syntax for captures and properties of set directives
...
update CONTRIBUTING.md
adjust indents for bass
fix doc capture comment
2023-03-24 13:07:53 -04:00
Amaan Qureshi
5a87bc98da
feat: add @comment.documentation where applicable
2023-03-05 17:15:32 -05:00
Lewis Russell
37398c7d68
feat(spell): support more languages
2022-09-26 13:47:12 +01:00
Lewis Russell
2a63ea5665
feat(spell): upstream spell queries from spellsitter
2022-09-06 12:44:19 +01:00
Lewis Russell
011ac894ec
Prefer lua-match over match
...
as string.find is much quicker than vim.regex:match*
2021-11-23 10:02:06 +01:00
Lewis Russell
ece0f70139
fix(teal): highlighting for types
2021-11-04 20:42:36 +01:00
Stephan Seitz
351eefd988
injections(teal): fix cdef injection
2021-09-25 00:59:40 +02:00
Stephan Seitz
f96c409e3d
Update teal highlights
2021-08-02 15:20:07 +02:00
antonk52
90f15d9bf7
feat(keywords) merge return and yield into keyword.return group
2021-07-04 21:49:17 +02:00
antonk52
bd9095e969
feat(keywords) add keyword.return & keyword.yield
2021-07-04 21:49:17 +02:00
Santos Gallegos
67f0857015
Revert "Comment: use @combined to create just one tree per buffer ( #1252 )"
...
This reverts commit 4a7a713c52 .
2021-05-07 16:51:57 +02:00
Santos Gallegos
4a7a713c52
Comment: use @combined to create just one tree per buffer ( #1252 )
...
* 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
2021-04-28 07:19:07 -05:00
Corey Williamson
548a0d8d7f
Update teal highlights
2021-03-23 22:20:30 +01:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags ( #893 )
...
Closes #236
2021-03-12 11:21:46 -05:00
Lewis Russell
f41459b300
teal: Add C language injection for FFI
2021-03-09 00:45:02 +01:00
Stephan Seitz
f5c41338aa
folds(teal): remove record_declaration from folds
...
See: c647346911
2021-01-30 21:13:14 +01:00
elianiva
9184cf3953
feat: added more indent queries
2021-01-14 14:43:04 +01:00
Corey Williamson
32085370b1
Update teal syntax for 0.10
2021-01-05 16:52:17 +01:00
Corey Williamson
cfc68f929c
Update for teal-0.9
2020-12-17 00:44:01 +01:00
Stephan Seitz
c76709fd36
Update Teal queries and parser
2020-12-03 21:13:02 +01:00
Stephan Seitz
47fae4eff8
Update teal queries
2020-11-30 11:19:22 +01:00
Corey Williamson
73ef705eb2
Fix typearg brackets not highlighting for multiple typeargs
2020-10-05 12:02:59 +02:00
Corey Williamson
85791a4316
Set function scope
2020-10-05 12:02:59 +02:00
euclidianAce
0aa4940f8b
Update queries/teal/highlights.scm
...
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2020-10-05 12:02:59 +02:00
Corey Williamson
c2acddd651
Add teal parser
2020-10-05 12:02:59 +02:00