Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: support more syntax types for highlighting #556

Open
neilhwatson opened this issue Feb 11, 2018 · 1 comment
Open

Feature request: support more syntax types for highlighting #556

neilhwatson opened this issue Feb 11, 2018 · 1 comment
Labels

Comments

@neilhwatson
Copy link

The syntax highlighter is missing common types HCL (HashiCorp) and YAML (aren't we all YAML users today ;))

@preaction
Copy link
Owner

The built-in highlighter uses https://metacpan.org/pod/Syntax::Highlight::Engine::Kate, which has apparently been deprecated in favor of https://metacpan.org/pod/Syntax::Kamelon. Kamelon supports YAML, but not HCL. You could either add support the Syntax::Highlight::Engine::Kate, move the Statocles::Plugin::Highlight to Kamelon (and add HCL support there), or switch to a JavaScript-based highlighter (HighlightJS comes to mind, but it also does not support HCL).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants