Sergio Alejandro Vargas
820b4a9c21
Use @keyword.function consistently
2021-07-06 00:53:40 +02:00
Joakker
c699cc2e47
Use #any-of? instead of #match? where posible
2021-06-25 00:22:48 +02:00
Pau Ruiz Safont
048682a3ae
highlights(ocaml): add hash and sign operators
2021-05-11 23:24:10 +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
Stephan Seitz
f455980b69
Re-add OCaml query that lead to crash before tree-sitter fix
...
Ref: https://github.com/tree-sitter/tree-sitter/issues/968#issuecomment-792932744
2021-03-16 18:52:43 +01:00
Stephan Seitz
080b6476fe
Fix ocaml 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
Pau Ruiz Safont
0df1803056
highlights(ocaml): change order or captures
...
This because the later captures have more priority in neovim, not less
like in upstream.
This fixes highlighting highlighting for let* and +, for example.
2021-02-28 22:32:07 +01:00
Pau Ruiz Safont
633b42b2a2
highlights(ocaml): add unit and pretty_printing_indication
2021-02-28 22:32:07 +01:00
Stephan Seitz
45397ebbd9
fix(highlights): Add TSNamespace highlight
...
Start adding highlights for
- C++
- Rust (including other scoped_identifier/scoped_type_identifier fixes)
- JS (only namespace_import)
Addresses #516
2020-10-10 15:31:51 +02:00
Pau Ruiz Safont
f7126fe54b
fix(ocaml): highlight characters as such
2020-10-04 14:33:29 +02:00
Pieter Goetschalckx
718fc1be3e
Add OCaml folds
2020-09-21 08:54:30 +02:00
Pieter Goetschalckx
a8c8de13ae
Improve OCaml locals
2020-09-21 08:54:30 +02:00
Pieter Goetschalckx
60e097a14a
Improve OCaml highlights
2020-09-21 08:54:30 +02:00
Pau Ruiz Safont
9447909d11
ocaml: follow upstream for highlights
2020-09-19 13:35:12 +02:00
Pau Ruiz Safont
465ed37494
ocaml: follow upstream for highlights
2020-09-19 13:35:12 +02:00
Pau Ruiz Safont
b4d7ea7e66
fix ocaml highlights
...
Function matching was wrongly parenthesized, parameter detection was too
eager and it was wrongly matching all + and - as delimiters
2020-09-12 23:11:05 +02:00
Pau Ruiz Safont
7be8e6ca5c
maintenance(ocaml): adapt queries to nvim-treesitter
2020-09-11 12:10:31 +02:00
Pau Ruiz Safont
ddc200768e
feat(queries): pull ocaml queries from upstream
2020-09-11 12:10:31 +02:00
Pau Ruiz Safont
4db39e27c9
fix: ocaml highlight
...
The string.special group was removed from highlight.lua, replace its
uses by the string group.
2020-09-06 20:52:56 +02:00
Pieter Goetschalckx
9ef264a733
Fix filename
2020-09-05 10:02:42 +02:00
Pau Ruiz Safont
3fe5a067b3
feat(highlights): add ocaml
2020-08-24 10:16:38 +02:00