diff options
| author | Pau Ruiz Safont <unduthegun@gmail.com> | 2020-10-03 14:17:53 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2020-10-04 14:33:29 +0200 |
| commit | f7126fe54bea7f4225177ad293ffbb31a87e9c61 (patch) | |
| tree | 4cb90a4724336c39ee7ed04c359e34ca95445851 | |
| parent | feat: add ocamllex parser and highlights (diff) | |
| download | nvim-treesitter-f7126fe54bea7f4225177ad293ffbb31a87e9c61.tar nvim-treesitter-f7126fe54bea7f4225177ad293ffbb31a87e9c61.tar.gz nvim-treesitter-f7126fe54bea7f4225177ad293ffbb31a87e9c61.tar.bz2 nvim-treesitter-f7126fe54bea7f4225177ad293ffbb31a87e9c61.tar.lz nvim-treesitter-f7126fe54bea7f4225177ad293ffbb31a87e9c61.tar.xz nvim-treesitter-f7126fe54bea7f4225177ad293ffbb31a87e9c61.tar.zst nvim-treesitter-f7126fe54bea7f4225177ad293ffbb31a87e9c61.zip | |
fix(ocaml): highlight characters as such
| -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 ba0541818..4e44c6dc1 100644 --- a/queries/ocaml/highlights.scm +++ b/queries/ocaml/highlights.scm @@ -72,7 +72,9 @@ [(number) (signed_number)] @number -[(string) (character)] @string +(character) @character + +(string) @string (quoted_string "{" @string "}" @string) @string |
