Skip to content

Add syntax highlighting support for YAML files - #5

Open
Giuliano69 wants to merge 3 commits into
gphalkes:masterfrom
Giuliano69:master
Open

Add syntax highlighting support for YAML files#5
Giuliano69 wants to merge 3 commits into
gphalkes:masterfrom
Giuliano69:master

Conversation

@Giuliano69

Copy link
Copy Markdown

This Pull Request adds native syntax highlighting support for YAML (.yaml and .yml) files to libt3highlight.

The implementation includes:

  1. A base syntax definition template (src/data/def/yaml.lang) supporting comments, document markers (---), keys, booleans, numbers, and strings.
  2. An activator language wrapper (src/data/yaml.lang).
  3. Appropriate file mapping configurations added to src/data/lang.map right before the catch-all configuration file block.

Tested locally on Tilde editor and everything highlights as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant