fix(packages): update package definitions to be compatible with latest straight.el

A recent change (https://github.com/raxod502/straight.el/pull/558) to
straight.el's use-package integration led to some of my :straight
definitions throwing errors.

When overriding the package name, do not wrap the real name in parens,
for example:

    ;; bad (no longer works)
    (use-package helm-global-bindings
      :straight (helm))

    ;; good (worked before, still works)
    (use-package helm-global-bindings
      :straight helm)
This commit is contained in:
2020-08-27 23:37:28 +01:00
parent 7a205aa74e
commit 1c81570ef7
3 changed files with 9 additions and 9 deletions

View File

@@ -61,7 +61,7 @@
(add-to-list 'completion-ignored-extensions ".test"))
(use-package lsp-go
:straight (lsp-mode)
:straight lsp-mode
:hook
(go-mode . lsp-deferred))

View File

@@ -81,7 +81,7 @@
ruby-forward-sexp nil)))
(use-package lsp-solargraph
:straight (lsp-mode)
:straight lsp-mode
:hook
(ruby-mode . lsp-deferred)

View File

@@ -10,7 +10,7 @@
(require 'tramp)
(use-package helm-global-bindings
:straight (helm)
:straight helm
:demand t
:bind
(:map helm-command-map
@@ -110,7 +110,7 @@
(advice-add 'helm :before 'siren-helm--hide-treemacs))
(use-package helm-command
:straight (helm)
:straight helm
:after (helm-global-bindings)
:bind
("C-c C-m" . helm-M-x)
@@ -120,14 +120,14 @@
(helm-M-x-fuzzy-match t))
(use-package helm-elisp
:straight (helm)
:straight helm
:after (helm-global-bindings)
:bind
(:map helm-command-map
("d" . helm-apropos)))
(use-package helm-files
:straight (helm)
:straight helm
:after (helm-global-bindings)
:bind
("C-x C-f" . helm-find-files)
@@ -138,20 +138,20 @@
(helm-ff-search-library-in-sexp t))
(use-package helm-for-files
:straight (helm)
:straight helm
:after (helm-global-bindings)
:bind
("C-c f f" . helm-for-files)
("C-c f r" . helm-recentf))
(use-package helm-imenu
:straight (helm)
:straight helm
:after (helm-global-bindings)
:bind
("C-t" . helm-imenu))
(use-package helm-ring
:straight (helm)
:straight helm
:after (helm-global-bindings)
:defer t
:init