Change doom-line-number-pad-char default to space
There are some subtle issues with using the unicode, which depends largely on the font you use. It is also slightly faster to use a space. If you use whitespace-mode's space-mark feature, then change this to ?\u2002. Addresses #109
This commit is contained in:
parent
6569246067
commit
dfa6c468c3
1 changed files with 8 additions and 4 deletions
|
@ -32,10 +32,14 @@ shorter major mode name in the mode-line. See `doom|set-mode-name'.")
|
||||||
(defvar doom-line-number-rpad 1
|
(defvar doom-line-number-rpad 1
|
||||||
"How much padding to place after line numbers.")
|
"How much padding to place after line numbers.")
|
||||||
|
|
||||||
(defvar doom-line-number-pad-char ?\u2002
|
(defvar doom-line-number-pad-char 32
|
||||||
"Character to use for padding line numbers. We use an exotic 'space-looking'
|
"Character to use for padding line numbers.
|
||||||
character so that `whitespace-mode' won't replace spaces inside the line number
|
|
||||||
overlay.")
|
By default, this is a space key. If you use `whitespace-mode' with `space-mark',
|
||||||
|
the whitespace in line numbers will be affected (this can look ugly). In this
|
||||||
|
case, you can change this to ?\u2002, which is a unicode character that looks
|
||||||
|
like a space that `whitespace-mode' won't affect.")
|
||||||
|
|
||||||
|
|
||||||
;; Hook(s)
|
;; Hook(s)
|
||||||
(defvar doom-init-ui-hook nil
|
(defvar doom-init-ui-hook nil
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue