mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
refactor: Visual indentation guides
- Switch from highlight-indentation package to highlight-indent-guides. - Activate visual indentation in a prog-mode hook, rather than doing within each individual major mode. It was already done within all major modes based on prog-mode anyway. - Add new siren-display-indetation module and function as a central way to enable visual indetation guides. This makes switching the underlying package at some point in the future much easier.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'siren-display-indentation)
|
||||
(require 'siren-fci)
|
||||
(require 'siren-flyspell)
|
||||
(require 'siren-linum)
|
||||
@@ -35,12 +36,13 @@
|
||||
whitespace-action '(auto-cleanup))
|
||||
|
||||
(setcar (nthcdr 4 org-emphasis-regexp-components) 20)
|
||||
(org-set-emph-re 'org-emphasis-regexp-components org-emphasis-regexp-components)
|
||||
(org-set-emph-re 'org-emphasis-regexp-components
|
||||
org-emphasis-regexp-components)
|
||||
|
||||
(linum-mode t)
|
||||
(flyspell-mode)
|
||||
(fci-mode)
|
||||
(highlight-indentation-current-column-mode)
|
||||
(siren-display-indentation)
|
||||
(smartparens-mode +1)
|
||||
(visual-line-mode +1)
|
||||
(whitespace-mode +1)))
|
||||
|
||||
Reference in New Issue
Block a user