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