Skip to content

Add OCamllex and OCamlyacc syntax highlighting support - #2616

Merged
love-linger merged 2 commits into
sourcegit-scm:developfrom
ftovagliari:develop
Aug 10, 2026
Merged

Add OCamllex and OCamlyacc syntax highlighting support#2616
love-linger merged 2 commits into
sourcegit-scm:developfrom
ftovagliari:develop

Conversation

@ftovagliari

Copy link
Copy Markdown
Contributor

How ocaml comments looked before the fix:
image

How ocaml comments look after the fix:
image

Screenshot of what an ocamllex file looks like:
image
Screenshot of what an ocamlyacc file looks like:
image

Updated the THIRD-PARTY-LICENSES.md file with the link to the original ocamllex and ocamlyacc grammar .xml files that have been converted to .json.

- Reduced the scope names for `commentBlock` and `commentDoc` to just "comment".
- Removed unnecessary `constant.regexp` and `meta.separator.markdown` scopes.
- Added a missing newline at the end of the file.
@ftovagliari
ftovagliari marked this pull request as ready for review August 9, 2026 16:07
@love-linger love-linger self-assigned this Aug 10, 2026
@love-linger love-linger added the enhancement New feature or request label Aug 10, 2026
@love-linger
love-linger merged commit f71b8d2 into sourcegit-scm:develop Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

2 participants