diff options
| author | Sergio Alejandro Vargas <savargasqu+git@unal.edu.co> | 2021-07-05 15:04:42 -0500 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-07-06 00:53:40 +0200 |
| commit | 820b4a9c211a49c878ce3f19ed5c349509e7988f (patch) | |
| tree | aacc70f49ddb660c55f17cdbbe5ad46aa68db050 /queries/ocaml | |
| parent | Highlights(python): Add `@keyword.function` (diff) | |
| download | nvim-treesitter-820b4a9c211a49c878ce3f19ed5c349509e7988f.tar nvim-treesitter-820b4a9c211a49c878ce3f19ed5c349509e7988f.tar.gz nvim-treesitter-820b4a9c211a49c878ce3f19ed5c349509e7988f.tar.bz2 nvim-treesitter-820b4a9c211a49c878ce3f19ed5c349509e7988f.tar.lz nvim-treesitter-820b4a9c211a49c878ce3f19ed5c349509e7988f.tar.xz nvim-treesitter-820b4a9c211a49c878ce3f19ed5c349509e7988f.tar.zst nvim-treesitter-820b4a9c211a49c878ce3f19ed5c349509e7988f.zip | |
Use `@keyword.function` consistently
Diffstat (limited to 'queries/ocaml')
| -rw-r--r-- | queries/ocaml/highlights.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/queries/ocaml/highlights.scm b/queries/ocaml/highlights.scm index 292d3238c..d6887cb40 100644 --- a/queries/ocaml/highlights.scm +++ b/queries/ocaml/highlights.scm @@ -93,12 +93,14 @@ [ "and" "as" "assert" "begin" "class" "constraint" - "end" "external" "fun" "function" "functor" "in" + "end" "external" "in" "inherit" "initializer" "lazy" "let" "match" "method" "module" "mutable" "new" "nonrec" "object" "of" "private" "rec" "sig" "struct" "type" "val" "virtual" "when" "with" ] @keyword +["fun" "function" "functor"] @keyword.function + ["if" "then" "else"] @conditional ["exception" "try"] @exception |
