Fix font setting

This commit is contained in:
Kevin Cotugno 2020-09-23 05:52:20 -07:00
parent ee6aef32de
commit 93a9b7b3ce

View File

@ -49,7 +49,8 @@
;; Display ;; Display
(unless (eq system-type 'windows-nt) (unless (eq system-type 'windows-nt)
(set-default-font "DejaVu Sans Mono-12")) (add-to-list 'default-frame-alist
'(font . "DejaVu Sans Mono-12")))
(line-number-mode t) (line-number-mode t)
(global-linum-mode t) (global-linum-mode t)
@ -93,6 +94,9 @@
(add-hook 'js-mode-hook (lambda () (add-hook 'js-mode-hook (lambda ()
(setq indent-tabs-mode nil) (setq indent-tabs-mode nil)
(setq js-indent-level 2))) (setq js-indent-level 2)))
(add-hook 'html-mode-hook (lambda ()
(setq indent-tabs-mode nil)
(setq html-indent-level 2)))
(add-hook 'css-mode-hook (lambda () (add-hook 'css-mode-hook (lambda ()
(setq indent-tabs-mode nil) (setq indent-tabs-mode nil)
(setq tab-width 2) (setq tab-width 2)