1

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?

dan1st
  • 12,568
  • 8
  • 34
  • 67
timetear
  • 167
  • 1
  • 1
  • 8

0 Answers0