nvim-treesitter/queries
Stephen Bolton e0e6d1b263
Add headers as an option to fold on (#1873)
* Add headers as an option to fold on

treesitter-beancount added grammar rules around orgmode and markdown
headers so that they are recognized in beancount documents. This change
makes it so that they will be taken into consideration when folding
text.

Commit: 79ae7c1f26

* Fix node name for headers

The correct name for the header nodes is heading.
2021-10-02 00:08:44 -05:00
..
bash Use @keyword.function consistently 2021-07-06 00:53:40 +02:00
beancount Add headers as an option to fold on (#1873) 2021-10-02 00:08:44 -05:00
bibtex add basic queries for bibtex 2021-03-22 22:19:10 +01:00
c Fix #1853 2021-09-30 19:36:29 +02:00
c_sharp Remove redunant capture. 2021-08-18 22:00:31 +02:00
clojure highlights(clojure): fix highlighting of #_ 2021-07-25 18:06:50 +02:00
cmake [cmake] add highlights for add_custom_target and add_custom_command 2021-09-10 21:11:38 +02:00
comment fix typo in query 2021-06-26 12:19:08 +02:00
commonlisp Update queries/commonlisp/highlights.scm 2021-05-17 20:45:31 +02:00
cpp cpp: highlight template method identifier as a method 2021-09-27 00:09:17 +02:00
css Revert "Comment: use @combined to create just one tree per buffer (#1252)" 2021-05-07 16:51:57 +02:00
cuda injections(cuda): add injections.scm 2021-07-20 08:32:58 +02:00
dart feat(keywords) merge return and yield into keyword.return group 2021-07-04 21:49:17 +02:00
devicetree Revert "Comment: use @combined to create just one tree per buffer (#1252)" 2021-05-07 16:51:57 +02:00
dockerfile Add config for Dockerfile parser (#1288) 2021-05-11 16:03:36 +00:00
dot Update DOT injections 2021-09-16 18:12:07 +02:00
ecma Ecma: increase priority of template_substitution 2021-09-17 22:08:12 +02:00
elixir Add HEEx language support, add missing commentstrings 2021-08-18 14:07:59 +02:00
fennel feat(fennel): update parser and queries 2021-09-30 17:54:45 +02:00
fish feat(keywords) merge return and yield into keyword.return group 2021-07-04 21:49:17 +02:00
fortran feat(keywords) merge return and yield into keyword.return group 2021-07-04 21:49:17 +02:00
gdscript Remove regex for field 2021-07-22 00:03:48 +02:00
glimmer Use #any-of? instead of #match? where posible 2021-06-25 00:22:48 +02:00
glsl parsers: add glsl parser 2021-09-17 20:52:13 +02:00
go Use @keyword.function consistently 2021-07-06 00:53:40 +02:00
godotResource feature: add godotResource queries 2021-07-29 07:34:15 +02:00
gomod Add go-mod tree-sitter config 2021-04-28 17:37:33 +02:00
graphql highlight description as a comment 2021-10-01 18:30:34 +02:00
haskell Add comment highlighting for keywords in Haskell (#1695) 2021-08-14 18:27:05 +00:00
hcl update hcl parser, update queries 2021-09-20 22:39:32 +02:00
heex Disable combined injections for HEEx 2021-08-18 14:07:59 +02:00
hjson Support hjson 2021-09-19 14:19:20 +02:00
html refactor: make html-like languages inherit from single query 2021-05-17 23:38:14 +02:00
html_tags add @tag.attribute for html like attributes 2021-07-14 10:13:13 +02:00
java feat(keywords) merge return and yield into keyword.return group 2021-07-04 21:49:17 +02:00
javascript locals(js,ts): Add parameters again (#1231) 2021-04-28 07:39:14 -05:00
jsdoc Fix jsdoc: play nice with the comment parser (#1108) 2021-03-27 10:51:16 -05:00
json Json: update folds 2021-02-13 21:29:37 +01:00
json5 Reorder json5 queries 2021-08-30 11:42:41 +02:00
jsonc Revert "Comment: use @combined to create just one tree per buffer (#1252)" 2021-05-07 16:51:57 +02:00
jsx add @tag.attribute for html like attributes 2021-07-14 10:13:13 +02:00
julia Add exception handling branches 2021-07-07 21:37:18 +02:00
kotlin Kotlin queries: Handle package statements 2021-09-18 00:13:19 +02:00
latex feat: add comment highlighting in LaTeX 2021-07-01 10:33:16 +02:00
ledger Update ledger injections 2021-09-10 01:24:38 +02:00
lua injections(lua): fix cdef injection 2021-09-25 00:59:40 +02:00
markdown Add inline html comments 2021-02-25 13:42:25 +01:00
nix Revert "Comment: use @combined to create just one tree per buffer (#1252)" 2021-05-07 16:51:57 +02:00
ocaml Use @keyword.function consistently 2021-07-06 00:53:40 +02:00
ocaml_interface Add comment parser to highlight comment tags (#893) 2021-03-12 11:21:46 -05:00
ocamllex Revert "Comment: use @combined to create just one tree per buffer (#1252)" 2021-05-07 16:51:57 +02:00
perl "::" should be of type "operator" 2021-09-21 01:08:32 +02:00
php Fix method access using php nullsafe operator (#1773) 2021-08-30 22:06:09 -05:00
pioasm Add tree-sitter-pioasm with highlights and injections (#1759) 2021-08-29 12:10:15 -05:00
python Python: fix class highlights (#1548) 2021-07-11 15:06:52 -05:00
ql Revert "Comment: use @combined to create just one tree per buffer (#1252)" 2021-05-07 16:51:57 +02:00
query Query: update locals (#1692) 2021-08-14 00:26:31 -05:00
r Use @keyword.function consistently 2021-07-06 00:53:40 +02:00
regex Regex highlights: Add constant highlight for class_character 2021-01-03 19:05:38 +01:00
rst RST: use any-of? instead of match? (#1678) 2021-08-08 12:37:08 -05:00
ruby Fix instance and singleton method locals for Ruby 2021-08-09 08:38:02 +02:00
rust Rust: highlight loop labels 2021-10-01 22:33:49 +02:00
scala Add scala folds 2021-09-04 04:36:30 +02:00
scss highlight: add SCSS single_line_comment 2021-06-15 19:59:45 +02:00
sparql Revert "Comment: use @combined to create just one tree per buffer (#1252)" 2021-05-07 16:51:57 +02:00
supercollider Highlights: define string.special (#1551) 2021-07-11 15:59:53 -05:00
surface Update surface version, fix highlights 2021-08-18 14:07:59 +02:00
svelte Use #any-of? instead of #match? where posible 2021-06-25 00:22:48 +02:00
teal injections(teal): fix cdef injection 2021-09-25 00:59:40 +02:00
tlaplus @number -> @keyword 2021-08-30 07:35:12 +02:00
toml Revert "Comment: use @combined to create just one tree per buffer (#1252)" 2021-05-07 16:51:57 +02:00
tsx injections(tsx): inherit injections from ecma 2021-04-23 20:33:34 +02:00
turtle Revert "Comment: use @combined to create just one tree per buffer (#1252)" 2021-05-07 16:51:57 +02:00
typescript highlights(typescript): fix indentifier for type imports 2021-07-01 22:50:06 +02:00
verilog Use @keyword.function consistently 2021-07-06 00:53:40 +02:00
vim fix(vim): support syntax command and update parser 2021-10-01 08:24:58 +02:00
vue Use #any-of? instead of #match? where posible 2021-06-25 00:22:48 +02:00
yaml Revert "Comment: use @combined to create just one tree per buffer (#1252)" 2021-05-07 16:51:57 +02:00
yang Update YANG parser revision and highlights query 2021-07-23 17:56:45 +02:00
zig Zig queries: highlight, fold and indent 2021-09-20 11:46:24 +02:00