martanne / vis

A vi-like editor based on Plan 9's structural regular expressions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rst lexer does not lex urls properly

jgarte opened this issue · comments

rst_link_not_lexed

wdyt?

At line 13 column 61 it fails to lex the entire url. It stops at the underscore character.

Should we extend the lexer to permit those types of urls?

TBH, I'd prefer links to not be tokenized at all. It's pretty easy to visually spot a url.

Because we all hope #1018 is merged soon, this will be then non-issue for vis, and it should be filed upstream at https://github.com/orbitalquark/scintillua/issues, if you can reproduce it with new lexers.