Commit graph

16 commits

Author SHA1 Message Date
Joakker
c699cc2e47 Use #any-of? instead of #match? where posible 2021-06-25 00:22:48 +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
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags (#893)
Closes #236
2021-03-12 11:21:46 -05:00
Mike
98fba24acf feat: Add more bash queries
Add missing fold queries
Add "function" to keywords highlights
2020-12-25 15:56:27 +01:00
David Hotham
35dec1ceeb remove duplication of query for number 2020-12-25 15:56:06 +01:00
David Hotham
0c19049023 match test for regex 2020-12-25 15:56:06 +01:00
David Hotham
026314f2a9 fixes to bash highlighting 2020-12-25 15:56:06 +01:00
Stephan Seitz
b4d91a340e Bash highlights: reset highlighting in expansion 2020-12-14 07:38:38 +01:00
Santos Gallegos
76c00934a6 Bash: update highlights
Following some of our conventions and some bits from atom
https://github.com/atom/language-shellscript/blob/master/grammars/tree-sitter-bash.cson:

- Uppercase var are constants
- `$` is a special symbol, not part of the name
- Builtin constants and functions
2020-09-19 13:33:05 +02:00
Santos Gallegos
fe06e6fbec Bash: fix hl capture groups
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/387
2020-09-13 17:55:37 +02:00
Thomas Vigouroux
b90e520ccd ci: fix wrong queries 2020-09-11 12:02:35 +02:00
kyazdani42
15b182b2a9 fix bash highlight 2020-09-06 17:59:16 +02:00
Steven Sojka
ce43dbf54c fix(queries): use vim-match for non lua regexes 2020-08-16 18:31:56 +02:00
TravonteD
45a1c3998d bash: add locals.scm for use with definition highlighting 2020-07-19 22:16:00 +02:00
TravonteD
51a52b85cf add highlight queries for bash 2020-06-23 16:15:19 +02:00