Closed seagle0128 closed 5 years ago
This is out of scope for symbol-overlay
, I think.
A better approach would be to tackle any slowness in hl-todo
: font-lock
should not normally be slow.
Using overlays would not be ideal for this problem because they must be programmatically updated every time the text in the buffer changes (just in case new keywords need to be highlighted), and this can also get very slow.
Okay. It makes sense.
I am happy with
symbol-overlay
and hl-todo. Buthl-todo
usesfont-lock
while notoverlay
, so it is slow. Can you please integrate these functionalities intosymbol-overlay
? I think only highlight the keywords in comments forprog-mode
, and all fortext-mode
. Thank you!