Skip to content

Add syntax highlighting for Crystal programming language

Peter Leitzen requested to merge splattael/gitlab-ce:rouge-crystal-lexer into master

What does this MR do?

Highlight Crystal code using a lexer plugin rouge-lexers-crystal.

Until this PR https://github.com/jneen/rouge/pull/441 is merged we want to use this plugin to make Crystal users happier :)

Are there points in the code the reviewer needs to double check?

Please double-check that Crystal code is highlighted correctly.

Why was this MR needed?

Before this commit Crystal code on GitLab was not highlighted. After this commit all Crystal code has colors! 🎉

Screenshots (if relevant)

Before

Screenshot_from_2018-07-16_17-04-06

After

Screenshot_from_2018-07-16_17-01-04

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by Peter Leitzen

Merge request reports