wolray / symbol-overlay

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

Do not enable symbol-overlay-mode when keyword not found #14

Closed yulapshun closed 6 years ago

yulapshun commented 6 years ago

The problem I have was that symbol-overlay-mode will be auto enabled when I call symbol-overlay-jump-prev or symbol-overlay-jump-prev without highlighting any symbol.

Don't know if this will break anything, so please have a look. And thanks for the great work!

wolray commented 6 years ago

Yes, that seems more reasonable in common scenarios. Thanks.