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
These two parsers may not necessarily parse URLs in the same way. it would be more appropriate to first try updating the parser (sometimes they're out of date and the issue could have been fixed already), or making an issue in the appropriate repo
Summary
Some URLs are only colored and/or underlined on the left-side (prefix), if the right-side (suffix) contains unexpected (but valid) chars.
This only happens when the URL is part of a comment. I can repro with the following langs:
The link is rendered exactly the same. It's not an LSP issue, as I don't have Java or Py lang-servers installed.
Weirdly, markdown hyperlinks ("anchors") are stylized properly.
It's not a terminal issue, as the terminal recognizes the full URL when hovering the mouse cursor.
gf
motion works properly (includes full URL), so it really is only a style issueReproduction Steps
I tried this:
hx
// https://doc.rust-lang.org/std/boxed/struct.Box.html#impl-IntoIterator-for-Box%3C%5BI%5D,+A%3E
:set-language <anything I mentioned, except Py or shell>
I expected this to happen:
The full URL is white (blue, with my fav theme) and underlined
Instead, this happened:
The URL is white and underlined, until the comma. After the
,
it looks like plain-text (gray)Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
GNOME Terminal 3.56.0
Installation Method
cargo install --config 'build.rustflags="-C target-cpu=native"' --path helix-term --locked
Helix Version
helix 25.01.1 (7ebf650)
The text was updated successfully, but these errors were encountered: