Commit graph

24 commits

Author SHA1 Message Date
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