aboutsummaryrefslogtreecommitdiffstats
path: root/queries/ocaml
Commit message (Collapse)AuthorAgeFilesLines
* highlights(ocaml): use more specific groupsObserverOfTime2022-11-261-5/+10
|
* fix(ocaml): change query order for VariablesRobin Björklin2022-10-251-7/+7
| | | | | | By moving the Variables query higher it gives the @variable capture group a lower precedence when highlighting. This makes it possible to distinguish between @function and @variable.
* highlights(ocaml): highlight units as suchPau Ruiz Safont2022-05-061-1/+2
| | | | | | | | Units were shadowed by the punctuation highlights in all situations. Restrict the context where parentheses are highlighted as punctuation so () can be highlighted as constants. Signed-off-by: Pau Ruiz Safont <unduthegun@gmail.com>
* OCaml string format specifiersDawid Zych2021-12-021-1/+1
| | | | | For format specifiers use @string.special instead of @punctuation.special.
* OCaml use @constant.builtin for built in constantssilenc3r2021-12-011-1/+3
|
* Use `@keyword.function` consistentlySergio Alejandro Vargas2021-07-061-1/+3
|
* Use #any-of? instead of #match? where posibleJoakker2021-06-251-1/+4
|
* highlights(ocaml): add hash and sign operatorsPau Ruiz Safont2021-05-111-0/+2
|
* Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos2021-05-071-1/+1
| | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
* Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos2021-04-281-1/+1
| | | | | | | | | | | | * 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
* Re-add OCaml query that lead to crash before tree-sitter fixStephan Seitz2021-03-161-2/+1
| | | | Ref: https://github.com/tree-sitter/tree-sitter/issues/968#issuecomment-792932744
* Fix ocaml queriesStephan Seitz2021-03-161-2/+4
|
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-0/+1
| | | Closes #236
* highlights(ocaml): change order or capturesPau Ruiz Safont2021-02-281-24/+24
| | | | | | | This because the later captures have more priority in neovim, not less like in upstream. This fixes highlighting highlighting for let* and +, for example.
* highlights(ocaml): add unit and pretty_printing_indicationPau Ruiz Safont2021-02-281-2/+5
|
* fix(highlights): Add TSNamespace highlightStephan Seitz2020-10-101-1/+1
| | | | | | | | | Start adding highlights for - C++ - Rust (including other scoped_identifier/scoped_type_identifier fixes) - JS (only namespace_import) Addresses #516
* fix(ocaml): highlight characters as suchPau Ruiz Safont2020-10-041-1/+3
|
* Add OCaml foldsPieter Goetschalckx2020-09-211-0/+30
|
* Improve OCaml localsPieter Goetschalckx2020-09-211-3/+58
|
* Improve OCaml highlightsPieter Goetschalckx2020-09-211-3/+1
|
* ocaml: follow upstream for highlightsPau Ruiz Safont2020-09-191-6/+3
|
* ocaml: follow upstream for highlightsPau Ruiz Safont2020-09-191-5/+7
|
* fix ocaml highlightsPau Ruiz Safont2020-09-121-3/+7
| | | | | Function matching was wrongly parenthesized, parameter detection was too eager and it was wrongly matching all + and - as delimiters
* maintenance(ocaml): adapt queries to nvim-treesitterPau Ruiz Safont2020-09-113-127/+33
|
* feat(queries): pull ocaml queries from upstreamPau Ruiz Safont2020-09-113-117/+244
|
* fix: ocaml highlightPau Ruiz Safont2020-09-061-2/+1
| | | | | The string.special group was removed from highlight.lua, replace its uses by the string group.
* Fix filenamePieter Goetschalckx2020-09-051-0/+0
|
* feat(highlights): add ocamlPau Ruiz Safont2020-08-241-0/+147