Riley Bruins
92572c0dfd
feat: more @string.regex highlights
2023-12-23 22:26:02 +01:00
Azad
198015cca1
fix(query): stricter match for extends directive ( #5604 )
2023-11-02 19:02:41 +09:00
Jaehwang Jung
812c2dd8fe
feat(query): use @function.call for predicate
2023-10-03 17:54:10 +02:00
ObserverOfTime
05fe2c38a3
refactor: replace some match & vim-match usages
2023-08-23 16:57:18 +03:00
Pham Huy Hoang
39f07cd375
injections(query): add gsub pattern ( #4897 )
2023-08-12 17:34:15 +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
Christian Clason
741260618d
highlights(query): prefer lua-match
2023-05-21 19:22:05 +02:00
Emilia Simmons
58da7fe93e
allow no spaces for extend/inherit comments
2023-05-18 20:01:00 -04:00
Emilia Simmons
0058058386
add multiple ; for highlighting
2023-05-18 20:01:00 -04:00
Emilia Simmons
865483f8d1
fix(query): allow multiline modeline (inherits/extends)
2023-05-18 20:01:00 -04:00
Pham Huy Hoang
ca8a981db3
fix(query): add missing dedent for "]" ( #4739 )
2023-05-01 03:04:27 +00: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
4beba61dde
feat(query): differentiate lua-match strings by using luap injections and fix offset matches
2023-03-04 11:32:25 -05:00
ObserverOfTime
9b43ab819c
highlights: use @preproc where appropriate
2022-10-15 08:49:01 -07:00
Lewis Russell
37398c7d68
feat(spell): support more languages
2022-09-26 13:47:12 +01:00
Santos Gallegos
b99f46c735
Query: update highlights
...
ref https://github.com/nvim-treesitter/tree-sitter-query/pull/17
2021-12-24 03:46:53 +01:00
Santos Gallegos
8d6c804f3f
Query: update locals ( #1692 )
2021-08-14 00:26:31 -05:00
Santos Gallegos
ef85abba7f
Query: highlight numbers
2021-08-14 01:32:11 +02:00
Santos Gallegos
2a0097828d
Query: update highlight queries ( #1553 )
...
This is to match https://github.com/nvim-treesitter/tree-sitter-query/pull/15
2021-07-13 14:09:12 +00:00
Gregory Anders
dbbedfec88
query: Only highlight predicate name ( #1461 )
...
Only highlight the name of the predicate using TSFunction rather than
the entire predicate block.
2021-07-01 20:43:09 +00: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
Santos Gallegos
2a946ddc7e
Query: update highlights ( #1175 )
2021-04-10 15:18:44 -05:00
Stephan Seitz
cb14ffa103
highlights(query): Add modeline query after bugfix
2021-03-16 18:52:43 +01:00
Stephan Seitz
a2f524887c
Remove some broken queries
2021-03-16 18:52:43 +01:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags ( #893 )
...
Closes #236
2021-03-12 11:21:46 -05:00
Brian Shu
d162a83d82
removed duplicate
2021-03-01 23:35:25 +01:00
Brian Shu
8b4d267677
changed toml and query
2021-03-01 23:35:25 +01:00
Santos Gallegos
2ad1f76b7d
Query: highlight modeline
...
Matches the first comment and the beginning from the pattern
52397aaa0d/runtime/lua/vim/treesitter/query.lua (L25)
2021-02-12 08:02:00 +01:00
Santos Gallegos
7d7566f4e4
Query: add folds
2021-02-11 07:07:16 +01:00
Santos Gallegos
51d70c9f0c
Query: add regex injections
2021-02-07 15:30:15 +01:00
Santos Gallegos
3dbbc2dc7d
Query: add string.escape
...
Needs https://github.com/nvim-treesitter/tree-sitter-query/pull/5
2021-01-04 09:29:10 -05:00
Santos Gallegos
fa5aa080dc
Query: update highlights
...
More color!
2020-09-04 21:21:48 +02:00
Santos Gallegos
f85dd99b5d
Query: add program as scope
2020-09-04 13:49:04 -05:00
Steven Sojka
bd1d1adb35
rename query parser to query from scheme
2020-07-28 18:30:24 +02:00