From 45029768b9d13b38f4873df2c20be78fcd07e20c Mon Sep 17 00:00:00 2001 From: KJ Date: Tue, 24 Sep 2024 13:33:47 -0400 Subject: [PATCH] Improve lang php config. --- configs/init-eglot.el | 1 + configs/lang-php.el | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/init-eglot.el b/configs/init-eglot.el index 7deec0a..793e7bb 100644 --- a/configs/init-eglot.el +++ b/configs/init-eglot.el @@ -34,6 +34,7 @@ :ensure nil :hook ((css-mode . eglot-ensure) (html-mode . eglot-ensure) + (php-mode . eglot-ensure) (php-ts-mode . eglot-ensure) (rust-mode . eglot-ensure) (sh-mode . eglot-ensure)) diff --git a/configs/lang-php.el b/configs/lang-php.el index 5f699eb..78b9ca4 100644 --- a/configs/lang-php.el +++ b/configs/lang-php.el @@ -12,12 +12,11 @@ (use-package php-ts-mode :defer t :mode "\\.php\\'" + :after php-mode :ensure nil) -;; Requerido por org-mode para el Syntax Highlight (use-package php-mode :defer t - :hook (php-mode . php-ts-mode) :ensure t) (use-package php-doc-block