Files
.emacs.d/modules/languages/siren-conf.el
Jim Myhrberg 8ed4a4e6f5 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.
2020-01-26 18:53:44 +00:00

37 lines
782 B
EmacsLisp

;;; siren-conf.el --- jimeh's Emacs Siren: conf-mode configuration.
;;; Commentary:
;; Basic configuration for conf-mode.
;;; Code:
(require 'siren-display-indentation)
(require 'siren-fci)
(require 'siren-flyspell)
(require 'siren-linum)
(require 'siren-prog-mode)
(require 'siren-flycheck)
(require 'siren-highlight-symbol)
(require 'siren-smartparens)
(use-package conf-mode
:mode "Procfile\\'" "\\.conf\\'" "\\.cfg\\'"
:hook (conf-mode . siren-conf-mode-setup)
:init
(defun siren-conf-mode-setup ()
(siren-prog-mode-setup)
(setq tab-width 2)
(siren-display-indentation)
(fci-mode)
(flycheck-mode)
(flyspell-prog-mode)
(highlight-symbol-mode)
(linum-mode)
(smartparens-mode)))
(provide 'siren-conf)
;;; siren-conf.el ends here