-
-
Notifications
You must be signed in to change notification settings - Fork 836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: highlighting of path coordinates #3153
base: master
Are you sure you want to change the base?
feat: highlighting of path coordinates #3153
Conversation
I'm actually planning to move the line+col numbers over next to the file path. I wasn't planning on the current behavior being a permanent thing. See #3156 I'm thinking of adding a wrapper around I want to give Conni a chance to approve this before making these moves. #3152 |
I agree. One thing to add, not related to this change. In retrospective, I believe that "filename_first" should not be a I believe it would simplify things a bit. |
Would make sense. But this should probably be a new interface that lives alongside the only one,
I disagree. Transform path was never required to return a valid path, maybe the name is badly choosen. but it always was a way to take a path + config and return a modified version of that, shortened, or only tail, or absolute, or with filename first. And we also have a way for users to modify the path as they want. Intoducing a new function wouldnt change that at all, we still need that ONE function (currently transform_path) for our or extension entry makers to use. If you want you can introduce a new function that actually returns a valid path, but this will be a local function (i dont see a reason why we need to expose something like that), if you feel like that improves readability |
Description
Adds highlighting of path coordinates by using the existing highlight group
TelescopeResultsLineNr
.Type of change
Screenshots of affected windows
Live Grep
Grep Word
Buffers
LSP definitions
LSP references
LSP type definitions
Jumplist
Loclist
How Has This Been Tested?
This has been tested manually (see screenshots)
Configuration:
Checklist: