shell: Wrap terminal-here in use-package

Introduced in PR #11949, terminal-here wasn't wrapped in `use-package'. This
made it impossible to use `spacemacs|use-package-add-hook' to customize it.
This commit is contained in:
Nikita Leshenko 2019-12-18 11:25:28 +02:00 committed by Maximilian Wolff
parent 67f62c6fd3
commit 0417379a2f
No known key found for this signature in database
GPG key ID: 2DD07025BFDBD89A

View file

@ -295,14 +295,16 @@
(add-hook 'eshell-mode-hook 'spacemacs/init-eshell-xterm-color))))
(defun shell/init-terminal-here ()
:defer t
:init
(progn
(spacemacs/register-repl 'terminal-here 'terminal-here)
(spacemacs/set-leader-keys
"\"" 'terminal-here-launch
"p \"" 'terminal-here-project-launch)
))
(use-package terminal-here
:defer t
:commands (terminal-here-launch terminal-here-project-launch)
:init
(progn
(spacemacs/register-repl 'terminal-here 'terminal-here)
(spacemacs/set-leader-keys
"\"" 'terminal-here-launch
"p \"" 'terminal-here-project-launch)
)))
(defun shell/post-init-vi-tilde-fringe ()
(spacemacs/add-to-hooks 'spacemacs/disable-vi-tilde-fringe