zk-phi / sublimity

Smooth-scrolling and minimap like sublime editor
496 stars 26 forks source link

Disable sumbility mode also disable linum-mode. #52

Closed jcs090218 closed 4 years ago

jcs090218 commented 5 years ago

Why when I disable sublimity-mode the linum-mode also get disabled. And this only happens when cursor is in GNU Emacs buffer.

M-x sublimity-mode
zk-phi commented 5 years ago

Maybe because sublimity tries to restore window margins, when sublimity-attractive is loaded and then disabled.

zk-phi commented 4 years ago

Sublimity actually does not disable linum-mode but just clear the window margins, thus when linum-mode display is refreshed, then line numbers will be visible again. While sublimity-mode is not toggled very frequently, this is not a priority issue, at least for me.

Please reopen if the behavior is problematic. PRs are also welcome.