From 45da3bce86faec9d21c2e38df325635f5df3d94e Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 28 Jan 2022 12:40:11 -0800 Subject: refactor(wpcarro/emacs): Drop meta.ci.extraSteps ...in favor of `meta.targets = [ "check" ]`. Change-Id: I08b035b7d7bbe5ef4eab10a9f55481048c67330a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5104 Reviewed-by: wpcarro Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el | 5 +++-- users/wpcarro/emacs/.emacs.d/wpc/wpc-ui.el | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'users/wpcarro/emacs/.emacs.d/wpc') diff --git a/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el b/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el index e2d01e2d23de..1131e7fecf73 100644 --- a/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el +++ b/users/wpcarro/emacs/.emacs.d/wpc/wpc-misc.el @@ -225,8 +225,9 @@ (use-package yasnippet :config - (setq yas-snippet-dirs (list (f-join user-emacs-directory "snippets"))) - (yas-global-mode 1)) + (unless constants-ci? + (setq yas-snippet-dirs (list (f-join user-emacs-directory "snippets"))) + (yas-global-mode 1))) (use-package projectile :config diff --git a/users/wpcarro/emacs/.emacs.d/wpc/wpc-ui.el b/users/wpcarro/emacs/.emacs.d/wpc/wpc-ui.el index f3fb8324c2c3..f4ed1dd9adf5 100644 --- a/users/wpcarro/emacs/.emacs.d/wpc/wpc-ui.el +++ b/users/wpcarro/emacs/.emacs.d/wpc/wpc-ui.el @@ -110,16 +110,17 @@ (use-package ivy-prescient :config (ivy-prescient-mode 1) - (prescient-persist-mode 1)) + (unless constants-ci? + (prescient-persist-mode 1))) (use-package ivy-pass) ;; all-the-icons (use-package all-the-icons :config - (when (not constants-ci?) - (unless (f-exists? "~/.local/share/fonts/all-the-icons.ttf") - (all-the-icons-install-fonts t)))) + (unless (or constants-ci? + (f-exists? "~/.local/share/fonts/all-the-icons.ttf")) + (all-the-icons-install-fonts t))) ;; icons for Ivy (use-package all-the-icons-ivy -- cgit 1.4.1