Closed jgarte closed 1 year ago
If you do something like the following it breaks the syntax highlighting in ruby files and thinks the rest of the buffer is a backtick command string waiting to be closed:
when /^```/ :verbatim
or this
when /^`/ :verbatim
The above is taken from this gemtext parser code:
https://github.com/genenetwork/gemini-rb/blob/main/lib/gemini-rb/parser.rb#L64
relevant place in vis lua code:
https://github.com/martanne/vis/blob/master/lua/lexers/ruby.lua#L37
@ninewise, this should probably be sent upstream to https://github.com/orbitalquark/scintillua/issues, right?
Yes. I'll be closing this here.
If you do something like the following it breaks the syntax highlighting in ruby files and thinks the rest of the buffer is a backtick command string waiting to be closed:
or this
The above is taken from this gemtext parser code:
https://github.com/genenetwork/gemini-rb/blob/main/lib/gemini-rb/parser.rb#L64
relevant place in vis lua code:
https://github.com/martanne/vis/blob/master/lua/lexers/ruby.lua#L37