Create new, a little bit better structured configuration

* Group configuration by package, and only then by language mode
* Slim down all the languages
This commit is contained in:
Maciej 2018-09-09 00:31:51 +03:00
parent 4d5f300113
commit 1a911716c0
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
38 changed files with 513 additions and 18 deletions

View file

@ -1,23 +0,0 @@
;;; Elisp -- summary
;;; Commentary:
;;; Code:
;;========== Editor config =========================
(defun editor-config-elisp ()
"Editor configuration for Elisp."
(set-indent 2)
(set-width-80))
;;========== Code completion =======================
(defun completion-config-elisp ()
"Code completion and inspection for Elisp."
(company-mode 1)
(flycheck-mode 1)
(set (make-local-variable 'company-backends)
'((company-yasnippet company-capf company-dabbrev-code company-files))))
;;========== Hooks =================================
(add-hook 'emacs-lisp-mode-hook 'editor-config-elisp)
(add-hook 'emacs-lisp-mode-hook 'completion-config-elisp)
;;; elisp.el ends here.