Disable nlinum in org-mode
This commit is contained in:
parent
56680e37a2
commit
de8b88829c
1 changed files with 2 additions and 2 deletions
|
@ -103,8 +103,8 @@
|
||||||
(narf|nlinum-unhl-line))
|
(narf|nlinum-unhl-line))
|
||||||
|
|
||||||
;; Preset width nlinum
|
;; Preset width nlinum
|
||||||
(add-hook! (text-mode prog-mode) 'narf|nlinum-enable)
|
(add-hook! (text-mode prog-mode scss-mode web-mode) 'narf|nlinum-enable)
|
||||||
;; (add-hook! org-mode 'narf|nlinum-enable)
|
(add-hook! org-mode 'narf|nlinum-disable)
|
||||||
(add-hook! nlinum-mode
|
(add-hook! nlinum-mode
|
||||||
(setq nlinum--width (length (number-to-string (count-lines (point-min) (point-max)))))))
|
(setq nlinum--width (length (number-to-string (count-lines (point-min) (point-max)))))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue