Move whitespace config to core-ui

Introduces new doom|show-whitespace-maybe hook to replace
doom|editorconfig-whitespace-mode-maybe
This commit is contained in:
Henrik Lissner 2018-05-08 23:21:17 +02:00
parent 317b556bde
commit 67f9aa1ffe
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 26 additions and 10 deletions

View file

@ -36,16 +36,7 @@ modes are active and the buffer is read-only.")
tabify-regexp "^\t* [ \t]+" ; for :retab
;; Wrapping
truncate-lines t
truncate-partial-width-windows 50
;; whitespace-mode
whitespace-line-column nil
whitespace-style
'(face indentation tabs tab-mark spaces space-mark newline newline-mark
trailing lines-tail)
whitespace-display-mappings
'((tab-mark ?\t [? ?\t])
(newline-mark ?\n [ ?\n])
(space-mark ?\ [] [?.])))
truncate-partial-width-windows 50)
;; ediff
(setq ediff-diff-options "-w"