wolray / symbol-overlay

Highlight symbols with keymap-enabled overlays
332 stars 42 forks source link

Add a knob, `symbol-overlay-temp-highlight-single', to allow applying temp highlighting to single occurences. #67

Closed sadboy closed 1 year ago

sadboy commented 3 years ago

This was discussed in #38.

Personally, I also prefer not taking occurrence into account when applying temp highlighting, for the consistency in behavior -- when temp highlighting fails to show up for the current symbol, my first reaction is not "oh this symbol only occurs once", but more like "did i forget to turn symbol-overlay-mode on for this buffer?", "is my Emacs broken again?", etc., which gives me a lot of undesirable anxiety :)