Minor refactors & docstring revision
These are not the refactors you are looking for.
This commit is contained in:
parent
fdb95d9ee6
commit
1d9ae834f2
3 changed files with 7 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
||||||
;;; core.el --- the heart of the beast -*- lexical-binding: t; -*-
|
;;; core.el --- the heart of the beast -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(when (version< emacs-version "25")
|
(and (version< emacs-version "25")
|
||||||
(error "Doom only supports Emacs 25.1 and higher!")))
|
(error "Doom only supports Emacs 25.1 and higher!")))
|
||||||
|
|
||||||
;;
|
;;
|
||||||
(defvar doom-version "2.0.9"
|
(defvar doom-version "2.0.9"
|
||||||
|
|
|
@ -50,5 +50,5 @@
|
||||||
(advice-add #'yas-expand :before #'sp-remove-active-pair-overlay)))
|
(advice-add #'yas-expand :before #'sp-remove-active-pair-overlay)))
|
||||||
|
|
||||||
|
|
||||||
(after! auto-yasnippet
|
;; `auto-yasnippet'
|
||||||
(setq aya-persist-snippets-dir (concat doom-local-dir "auto-snippets/")))
|
(setq aya-persist-snippets-dir (concat doom-local-dir "auto-snippets/"))
|
||||||
|
|
|
@ -87,8 +87,9 @@ compilation database is present in the project.")
|
||||||
(substatement-label . 0)
|
(substatement-label . 0)
|
||||||
(statement-cont . +)
|
(statement-cont . +)
|
||||||
(case-label . +)
|
(case-label . +)
|
||||||
;; align args with open brace OR don't indent at all (if open brace
|
;; align args with open brace OR don't indent at all (if open
|
||||||
;; is at eolp and close brace is after arg with no trailing comma)
|
;; brace is at eolp and close brace is after arg with no trailing
|
||||||
|
;; comma)
|
||||||
(arglist-intro . +)
|
(arglist-intro . +)
|
||||||
(arglist-close +cc-lineup-arglist-close 0)
|
(arglist-close +cc-lineup-arglist-close 0)
|
||||||
;; don't over-indent lambda blocks
|
;; don't over-indent lambda blocks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue