Compare commits

...

3 Commits

3 changed files with 27 additions and 4 deletions

View File

@ -14,6 +14,7 @@
(html-mode . eglot-ensure))
:config
(add-to-list 'eglot-server-programs '(php-mode . ("intelephense" "--stdio")))
;; (add-to-list 'eglot-ignored-server-capabilites :hoverProvider)
;; (add-to-list 'eglot-server-programs '(css-mode . ("vscode-css-language-server" "--stdio")))
;; (add-to-list 'eglot-server-programs '(html-mode . ("vscode-html-language-server" "--stdio")))
@ -29,5 +30,27 @@
(web-mode . emmet-mode))
)
;; Revisar por errores en el código
(use-package flymake
:defer t
:straight (:type built-in)
:hook (prog-mode . (lambda ()
(unless (derived-mode-p 'makefile-mode)
(flymake-mode))))
)
;; Mostar los errores de flymake en un popup-tip
(use-package flymake-diagnostic-at-point
:defer t
:straight t
:after flymake
:hook (flymake-mode . flymake-diagnostic-at-point-mode))
;; Mostrar eldoc en un popup
;; (use-package eldoc-box
;; :defer t
;; :straight t
;; :hook (eldoc-mode-hook . eldoc-box-hover-at-point-mode ))
(provide 'init-eglot)
;;; init-eglot.el ends here

View File

@ -1,4 +1,4 @@
;;; init-extensions.el --- Extensiones/paquetes instalados y su configuración -*- lexical-binding: t -*-
;;; init-packages.el --- Extensiones/paquetes instalados y su configuración -*- lexical-binding: t -*-
;; Author: kj <webmaster@outcontrol.net>
;; URL: https://git.kj2.me/kj/confi-emacs-actual
@ -325,5 +325,5 @@
:ensure t
:straight t)
(provide 'init-extensions)
;;; init-extensions.el ends here
(provide 'init-packages)
;;; init-packages.el ends here

View File

@ -40,7 +40,7 @@
;; Paquetes base
(require 'init-base)
(require 'init-extensions)
(require 'init-packages)
(require 'init-functions)
(require 'init-org)
;; (require 'init-lsp)