I work with evil-mode under Emacs
so I encounter this issue that Emacs display line numbers for some mode
but not for other mode, when I try to toggle linenumber-mode explicitly
it tells me this mode has been disabled.
is there a way to make evil-mode display line numbers ?
line-number-modeis enabled by default, and Evil does not appear to change that.To clarify, you are definitely talking about displaying the current line number in the mode line, and not showing all visible line numbers in the fringe (which is handled by
linum-mode) ?