Fix double ownership of posframe package

each package can only be owned by one layer
in this case it's dap layer's package.

translate layer only uses pre-init stuff.
This commit is contained in:
Maxi Wolff 2022-07-31 16:01:12 +02:00
parent d49e7a35c1
commit ca728d278b
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
2 changed files with 0 additions and 5 deletions

View File

@ -20,7 +20,6 @@
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(defconst dap-packages
'(dap-mode
posframe))
@ -137,6 +136,5 @@
;; Set bindings
(apply #'spacemacs/set-leader-keys-for-major-mode mode bindings))))))
(defun dap/init-posframe ()
(use-package posframe))

View File

@ -64,6 +64,3 @@
(defun translate/pre-init-posframe ()
(spacemacs|use-package-add-hook posframe
:post-config (translate/init-go-translate)))
(defun translate/init-posframe ()
(use-package posframe :defer t))