Minor refactors & reformatting across the board

This commit is contained in:
Henrik Lissner 2019-10-17 01:47:58 -04:00
parent d5d85d1b03
commit 323e0adf45
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
9 changed files with 14 additions and 13 deletions

View file

@ -129,7 +129,7 @@ immediately runs it on the current candidate (ending the ivy session)."
(setq +ivy--origin nil))))
(after! yasnippet
(add-to-list 'yas-prompt-functions #'+ivy-yas-prompt nil #'eq))
(add-hook 'yas-prompt-functions #'+ivy-yas-prompt))
(defadvice! +ivy--inhibit-in-evil-ex-a (orig-fn &rest args)
"`ivy-completion-in-region' struggles with completing certain

View file

@ -28,4 +28,4 @@
(warn! "Couldn't find the racer binary at `racer-cmd'"))
;; rust source code (rustup component add rust-src)
(unless (file-directory-p racer-rust-src-path)
(warn! "Couldn't find Rust's source code at RUST_SRC_PATH or `racer-rust-src-path'."))))
(warn! "Couldn't find Rust's source code at RUST_SRC_PATH or `racer-rust-src-path'"))))

View file

@ -34,7 +34,7 @@
(add-hook 'css-mode-hook #'rainbow-delimiters-mode)
(set-company-backend! '(css-mode scss-mode)
(if EMACS26+
;; css-mode's built in completion is superior in 26+
;; DEPRECATED css-mode's built in completion is superior in 26+
'company-capf
'company-css))
(map! :map scss-mode-map :localleader "b" #'+css/scss-build))

View file

@ -10,4 +10,4 @@
(warn! "Couldn't find cmake command. Vterm module won't compile"))
(unless (fboundp 'module-load)
(warn! "Your emacs doesn't have MODULES support. Vterm module won't work"))
(warn! "Your emacs wasn't built with dynamic modules support. The vterm module won't build"))

View file

@ -129,7 +129,8 @@ PLIST can have the following properties:
(add-hook 'persp-before-switch-functions #'+doom-dashboard--persp-record-project-h)))
(add-hook 'doom-init-ui-hook #'+doom-dashboard-init-h)
(remove-hook 'window-setup-hook #'doom-display-benchmark-h)
(unless doom-debug-mode
(remove-hook 'window-setup-hook #'doom-display-benchmark-h))
;;