Disable flymake in favor of flycheck.
This commit is contained in:
@ -85,17 +85,25 @@
|
|||||||
;; Revisar por errores en el código
|
;; Revisar por errores en el código
|
||||||
(use-package flymake
|
(use-package flymake
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:hook (prog-mode . (lambda ()
|
;; :hook (prog-mode . (lambda ()
|
||||||
(unless (derived-mode-p 'makefile-mode)
|
;; (unless (derived-mode-p 'makefile-mode)
|
||||||
(flymake-mode))))
|
;; (flymake-mode))))
|
||||||
:init
|
:init
|
||||||
(remove-hook 'flymake-diagnostic-functions 'flymake-proc-legacy-flymake)
|
(remove-hook 'flymake-diagnostic-functions 'flymake-proc-legacy-flymake)
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Mostar los errores de flymake en un popup-tip
|
(use-package flycheck
|
||||||
(use-package flymake-diagnostic-at-point
|
:init (global-flycheck-mode)
|
||||||
:after flymake
|
:config
|
||||||
:hook (flymake-mode . flymake-diagnostic-at-point-mode))
|
(setq flycheck-indication-mode nil
|
||||||
|
flycheck-phpcs-standard "PSR12"))
|
||||||
|
|
||||||
|
(use-package flycheck-eglot
|
||||||
|
:after flycheck
|
||||||
|
:custom
|
||||||
|
(flycheck-eglot-exclusive nil)
|
||||||
|
:init
|
||||||
|
(global-flycheck-eglot-mode 1))
|
||||||
|
|
||||||
(provide 'init-lsp)
|
(provide 'init-lsp)
|
||||||
;;; init-lsp.el ends here
|
;;; init-lsp.el ends here
|
||||||
|
Reference in New Issue
Block a user