質問

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-mode is 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) ?

他のヒント

Try M-x-display-line-number-mode

Evil emacs mode gives unexpected behavior with :set nu.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top