You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for the ping! Just wanted to ask if you can help us to fix this one 🙏🏼 If you can send a patch, that would be amazing, otherwise if you can point me to the right docs I'll try to submit a patch (and a test) by myself. Would like to better understand what this lexer_options: { prompt: '$,#,;' } is supposed to do, I've never used raw Rouge and I'm not familiar with some concepts as the lexer.
ℹ️ I started some months ago to collaborate in the Middleman ecosystem, so I'm trying to catch up with old issues/PRs.
Lexer options, defined in config.rb don't seem to get passed to passed to the lexer:
The above doesn't actually override the default settings of the console lexer.
I've been trying to figure out what was going on and it seems like the lexer_options need to be passed as the third argument to find_fancy, rather than to lexer.lex (in https://github.com/middleman/middleman-syntax/blob/master/lib/middleman-syntax/highlighter.rb):
The text was updated successfully, but these errors were encountered: