spacemacs/layers/+misc/nlinum
duianto f578e618a5
[nlinum] Show deprecation (Emacs 26.1+) warning on startup
The warning:
nlinum layer is deprecated for Emacs 26.1 and above
wasn't shown until SPC h SPC was pressed.

Because the variable: configuration-layer--used-layers
wasn't populated before the warning check occurred in
nlinum/packages.el.

The solution (suggested by syl20bnr) was to move the
check to a new file: nlinum/config.el.
2020-02-18 21:09:23 +01:00
..
config.el [nlinum] Show deprecation (Emacs 26.1+) warning on startup 2020-02-18 21:09:23 +01:00
funcs.el bump year in the copyright headers 2018-10-16 20:27:05 +03:00
packages.el [nlinum] Show deprecation (Emacs 26.1+) warning on startup 2020-02-18 21:09:23 +01:00
README.org Switch to the new layers generator 2019-05-15 21:08:21 +03:00

nlinum layer

Description

This layer provides various styles of line numbering in Spacemacs. It replaces linum and linum-relative with the improved nlinum and nlinum-relative packages.

Please note that on Emacs 26 and newer, this layer also replaces the new native line numbers mode (display-line-numbers-mode), and because of that it is not recommended to use nlinum layer on Emacs 26 or newer.

Features:

  • Support for classic ascending line numbering.
  • Support for line numbering relative to the current cursor position.