Просмотр исходного кода

Add some default hooks for prog-mode

master
Mitchell Tishmack 5 лет назад
committed by Mitch Tishmack
Родитель
Сommit
dfdfbd0193
1 измененных файлов: 4 добавлений и 0 удалений
  1. +4
    -0
      emacs.org

+ 4
- 0
emacs.org Просмотреть файл

@@ -358,6 +358,10 @@ Customize whitespace mode to make tabs obvious as boxes, and to highlight lines
(set-face-attribute 'whitespace-line nil
:foreground "#2075c7"
:background "lightgrey")

(add-hook 'prog-mode 'whitespace-mode)
(add-hook 'prog-mode 'hl-line-mode)
(add-hook 'prog-mode 'visual-line-mode)
#+END_SRC

*** uncategorized


Загрузка…
Отмена
Сохранить