Closed mcdviii closed 5 years ago
Was able to get it to work as anyone normally would--by copying all of the options from the README. Small adjustments were made for Doom's use-package wrapper (def-package!
,add-hook!
). My config lines follow.
(def-package! nlinum-relative
:config
(require 'nlinum-relative)
(nlinum-relative-setup-evil) ;; setup for evil
(setq nlinum-relative-redisplay-delay 0) ;; delay
(setq nlinum-relative-current-symbol "->") ;; or "" for display current line number
(setq nlinum-relative-offset 0) ;; 1 if you want 0, 2, 3...
(add-hook! 'prog-mode-hook 'nlinum-relative-mode))
Has anyone succeeded in installing and using this with Doom Emacs? I'm having trouble figuring out how to set nlinum-relative up in my config.el.