浏览代码

Add some default hooks for prog-mode

master
Mitchell Tishmack 5 年前
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


正在加载...
取消
保存