summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMatthew Kosarek <matthew.kosarek@vention.cc>2022-12-30 09:50:38 -0500
committerMatthew Kosarek <matthew.kosarek@vention.cc>2022-12-30 09:50:38 -0500
commit03535ea723e56470a3ed67200d649b8bfb47e1ae (patch)
treefb535f79c0a4085c2f895f26c4c1e4b2426cde20 /lisp
parent5d413872e78410a2e16138213ea2d96c4ac9abcc (diff)
Indentation lines
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