summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/general.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 67a4020..51ff942 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -101,6 +101,13 @@
;; Don't ask to kill when we have an open line number
(setq-default confirm-kill-processes nil)
+;; Highlight indentation lines
+(use-package highlight-indent-guides
+ :config
+ (add-hook 'prog-mode-hook 'highlight-indent-guides-mode)
+ (setq highlight-indent-guides-method 'character)
+ )
+
;; Tree
(require 'neotree)
(setq neo-smart-open t)
@@ -337,6 +344,11 @@
(interactive)
(clipboard-kill-ring-save (point-min) (point-max)))
+(use-package flycheck
+ :config
+ (setq flycheck-check-syntax-automatically '(save mode-enable))
+ '(flycheck-idle-change-delay 1))
+
(provide 'general)
;;; general.el ends here