Skip to content

Instantly share code, notes, and snippets.

@DavidAntaramian
Created April 5, 2019 04:25
Show Gist options
  • Save DavidAntaramian/3d751a8b7da79ba8d9587e8ff3bfe5f3 to your computer and use it in GitHub Desktop.
Save DavidAntaramian/3d751a8b7da79ba8d9587e8ff3bfe5f3 to your computer and use it in GitHub Desktop.
Fix issue where Hydra does not provide lv for Spacemacs
diff --git a/layers/+distributions/spacemacs-bootstrap/packages.el b/layers/+distributions/spacemacs-bootstrap/packages.el
index d1b7b5fce..7a073a419 100644
--- a/layers/+distributions/spacemacs-bootstrap/packages.el
+++ b/layers/+distributions/spacemacs-bootstrap/packages.el
@@ -19,6 +19,7 @@
(diminish :step bootstrap)
(evil :step bootstrap)
(hydra :step bootstrap)
+ (lv :step bootstrap)
(use-package :step bootstrap)
(which-key :step bootstrap)
;; pre packages, initialized aftert the bootstrap packages
@@ -294,6 +295,9 @@
(setq hydra-key-doc-function 'spacemacs//hydra-key-doc-function
hydra-head-format "[%s] "))
+(defun spacemacs-bootstrap/init-lv ()
+ (require 'lv))
+
(defun spacemacs-bootstrap/init-use-package ()
(require 'use-package)
(setq use-package-verbose init-file-debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment