💥 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:
parent
24cddafc8a
commit
a7da9a4738
5 changed files with 90 additions and 42 deletions
|
@ -34,7 +34,7 @@
|
|||
(unless (featurep! :lang julia)
|
||||
(add-to-list 'auto-mode-alist '("\\.jl\\'" . ess-julia-mode)))
|
||||
:config
|
||||
(add-hook 'ess-mode-hook #'doom|enable-line-numbers)
|
||||
(add-hook 'ess-mode-hook #'display-line-numbers-mode)
|
||||
(setq ess-offset-continued 'straight
|
||||
ess-expression-offset 2
|
||||
ess-nuke-trailing-whitespace-p t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue