aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-12-04 20:52:11 +0800
committerAaron LI <aaronly.me@outlook.com>2016-12-04 20:52:11 +0800
commitd140c1150db21b2957379c778d5974ff951e459f (patch)
treeb5de89d79949ca276cf3515d825f86c4d955bc43
parent824dd633b988590674c2570195fc0297dca572f3 (diff)
downloaddotfiles-d140c1150db21b2957379c778d5974ff951e459f.tar.bz2
_spacemacs: Set the font of "variable-pitch"
Credit: http://stackoverflow.com/a/28484419
-rw-r--r--_spacemacs.d/init.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/_spacemacs.d/init.el b/_spacemacs.d/init.el
index 8eb3771..6abb741 100644
--- a/_spacemacs.d/init.el
+++ b/_spacemacs.d/init.el
@@ -455,11 +455,14 @@
;;
;; Change `powerline' separator
(setq powerline-default-separator nil)
- ;; Set monospaced font size for Chinese
- (spacemacs//set-monospaced-font "M+ 1mn" "WenQuanYi Zen Hei" 14 14)
;; Display tildes in the fringe on empty lines
(global-vi-tilde-fringe-mode)
;;
+ ;; Set the font of `variable-pitch'
+ (set-face-font 'variable-pitch "M+ 1C")
+ ;; Set monospaced font size for Chinese (from `chinese' layer)
+ (spacemacs//set-monospaced-font "M+ 1mn" "WenQuanYi Zen Hei" 14 14)
+ ;;
;; Enable fill column indicator in most modes, except for `org-mode'
;; Credit: https://github.com/syl20bnr/spacemacs/issues/4506
;; WARNING: