GitLab specific Syntax Highlighting Options

Viewed 156

I'm trying to specify an option that is defined in the LUA lexer library that GitLab uses (ruby library Rouge).

option :function_highlighting, 'Whether to highlight builtin functions (default: true)'

In the .gitattributes file at the root of my repository, I tried:

*.lua gitlab-language=lua?{function_highlighting=false}

and several other formats with no luck.

I couldn't find any information on options in the GitLab Docs.

Anyone knows the right syntax, or if options are supported in that context?

0 Answers
Related