Replace nlinum with linum
This commit is contained in:
parent
7713cdb0bd
commit
5491fd552e
7 changed files with 19 additions and 36 deletions
|
@ -14,7 +14,7 @@
|
|||
+write-mode)
|
||||
(setq +write--buffer-mode doom-buffer-mode))
|
||||
(text-scale-set (if +write-mode 2 0))
|
||||
(nlinum-mode iarg)
|
||||
(doom/toggle-line-numbers iarg)
|
||||
(setq-local visual-fill-column-center-text +write-mode)
|
||||
(visual-fill-column-mode arg)
|
||||
(visual-line-mode arg)
|
||||
|
|
|
@ -15,9 +15,6 @@
|
|||
(set! :company-backend 'web-mode '(company-web-html company-yasnippet))
|
||||
(setq web-mode-enable-html-entities-fontification t)
|
||||
|
||||
;; Fix blank line numbers after unfolding
|
||||
(advice-add #'web-mode-fold-or-unfold :after #'nlinum--flush)
|
||||
|
||||
(map! :map web-mode-map
|
||||
(:localleader :n "rt" #'web-mode-element-rename)
|
||||
"M-/" #'web-mode-comment-or-uncomment
|
||||
|
|
|
@ -90,10 +90,7 @@
|
|||
(doom-themes-neotree-config)
|
||||
(setq doom-neotree-enable-variable-pitch t
|
||||
doom-neotree-file-icons 'simple
|
||||
doom-neotree-line-spacing 2)
|
||||
|
||||
;; Add line-highlighting to nlinum
|
||||
(doom-themes-nlinum-config))
|
||||
doom-neotree-line-spacing 2))
|
||||
|
||||
|
||||
;; Flashes the line around the cursor after any motion command that might
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue