💥 Rewrite line numbers system for Emacs 25

This removes the various doom-line-number* variables and replaces it
with the Emacs 26 display-line-numbers API, which I've ported to Emacs
25.x (however, it uses nlinum under the hood, and not all of
display-line-numbers options are supported).
This commit is contained in:
Henrik Lissner 2018-08-21 02:54:28 +02:00
parent 24cddafc8a
commit a7da9a4738
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 90 additions and 42 deletions

View file

@ -6,7 +6,7 @@
(set-popup-rule! "^\\*HTTP Response" :size 0.4 :quit 'other)
;; line numbers aren't enabled by default in fundamental-mode-derived modes
(add-hook 'restclient-mode-hook #'doom|enable-line-numbers)
(add-hook 'restclient-mode-hook #'display-line-numbers-mode)
;; Forces underlying SSL verification to prompt for self-signed or invalid
;; certs, rather than silently reject them.