Commit Graph

5 Commits (5cf143228fdc6fdc5356f089b2dbe2b130942e58)

Author SHA1 Message Date
Wilfred Hughes 5cf143228f Treat attribute IDs in OCaml as atoms
Fixes #114
2022-01-27 20:25:17 +07:00
Wilfred Hughes 268db2573c Expand ocaml tests 2022-01-16 18:05:45 +07:00
Wilfred Hughes a45afadf50 Add trailing functions to ocaml sample file 2022-01-16 18:04:22 +07:00
Wilfred Hughes 2d4ab5e494 Treat ocaml tags as atoms too 2022-01-15 11:00:41 +07:00
Wilfred Hughes c7b12d202f Treat ocaml type variables as an atom
The `'` in `'foo` gets a separate tree-sitter AST node, but the `foo`
does not. Treat the whole thing as an atom to avoid missing
highlighting on the `foo` part.

Fixes #89
2022-01-14 23:35:19 +07:00