gx.nvim icon indicating copy to clipboard operation
gx.nvim copied to clipboard

[FEATURE] Highlight links

Open pinbraerts opened this issue 11 months ago • 1 comments

I want to visibly distinguish the links, so that I can know beforehand if they can be gx'ed.

Here are my thoughts about this feature:

  1. opt-in setting (false by default)
  2. define some highlight group (I couldn't find the standard)
  3. check every handler lazily on some action: visible buffer lines on cursor move and bufopen
  4. cache results
  5. invalidate cache on edit

Inspiration: https://github.com/catgoose/nvim-colorizer.lua

pinbraerts avatar Jan 10 '25 16:01 pinbraerts

hm.. i think it would be overwhelming because you can gx anything - even words. maybe for all except of words this would be cool..

chrishrb avatar Feb 10 '25 15:02 chrishrb