Fix font setting
This commit is contained in:
parent
ee6aef32de
commit
93a9b7b3ce
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user