Change from package.el to straight.el.

This commit is contained in:
kj
2022-05-27 17:04:28 -04:00
parent fb890c4ceb
commit 7ee9bd4492
9 changed files with 95 additions and 168 deletions

View File

@ -12,17 +12,19 @@
(use-package php-mode
:defer t
:hook (php-mode . lsp)
:hook (php-mode . (lambda ()
:straight t
:hook ((php-mode . (lambda ()
(local-set-key (kbd "C-c d b") 'php-doc-block) ;; atajo para docblock
(company-mode t) ; habilita company mode
;;(ac-php-core-eldoc-setup) ; habilita soporte para ELDoc
;;(add-to-list 'company-backends '(company-capf company-ac-php-backend :with company-yasnippet)) ; Agregar ac-php para a company
))
(php-mode . lsp)
)
)
(use-package php-doc-block
:load-path (lambda() (concat private-dir "/packages/php-doc-block"))
:straight (php-doc-block :type git :host github :repo "moskalyovd/emacs-php-doc-block")
)
(provide 'lang-php)