ソースを参照

Add some default hooks for prog-mode

master
Mitchell Tishmack 6年前
committed by Mitch Tishmack
親
コミット
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


読み込み中…
キャンセル
保存