summaryrefslogtreecommitdiff
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
parent5d413872e78410a2e16138213ea2d96c4ac9abcc (diff)
Indentation lines
-rw-r--r--init.el2
-rw-r--r--lisp/general.el12
2 files changed, 13 insertions, 1 deletions
diff --git a/init.el b/init.el
index 8c3cbdd..12a468a 100644
--- a/init.el
+++ b/init.el
@@ -76,7 +76,7 @@
'(org-agenda-files (list org-directory))
'(org-directory "~/Documents/org")
'(package-selected-packages
- '(helm js-doc eslint-fix eslintd-fix go-mode css-eldoc dashboard highlight-thing tree-sitter-langs tree-sitter eldoc-box company-quickhelp hl-todo python-mode drag-stuff org-bullets git-gutter-fringe git-gutter vterm-toggle vterm minimap neotree good-scroll counsel ## smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org)))
+ '(highlight-indent-guides helm js-doc eslint-fix eslintd-fix go-mode css-eldoc dashboard highlight-thing tree-sitter-langs tree-sitter eldoc-box company-quickhelp hl-todo python-mode drag-stuff org-bullets git-gutter-fringe git-gutter vterm-toggle vterm minimap neotree good-scroll counsel ## smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org)))
;;; init.el ends here
(custom-set-faces
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