Move flycheck to LSP.

This commit is contained in:
kj 2022-11-22 19:34:06 -04:00
parent f0ba1006e5
commit 099ddda6db
2 changed files with 17 additions and 16 deletions

View File

@ -73,22 +73,6 @@
doom-modeline-indent-info nil doom-modeline-indent-info nil
doom-modeline-persp-name t)) doom-modeline-persp-name t))
;; Revisar sintaxis en vivo
(use-package flycheck
;; :diminish flycheck-mode
:defer t
:straight t
:hook (prog-mode . (lambda ()
(unless (derived-mode-p 'makefile-mode)
(flycheck-mode))))
)
;; Mostrar los errores de flycheck en un pop up
(use-package flycheck-popup-tip
:defer t
:straight t
:hook (flycheck-mode . flycheck-popup-tip-mode))
;; Git Gutter - Marca a la izq. si una linea ha sido agregada, editada o eliminada desde el último commit. ;; Git Gutter - Marca a la izq. si una linea ha sido agregada, editada o eliminada desde el último commit.
(use-package git-gutter (use-package git-gutter
:defer t :defer t

View File

@ -246,5 +246,22 @@
(push 'lsp-treemacs-symbols-mode aw-ignored-buffers) (push 'lsp-treemacs-symbols-mode aw-ignored-buffers)
(push 'lsp-treemacs-java-deps-mode aw-ignored-buffers)))) (push 'lsp-treemacs-java-deps-mode aw-ignored-buffers))))
;; Revisar sintaxis en vivo
(use-package flycheck
;; :diminish flycheck-mode
:defer t
:straight t
:hook (prog-mode . (lambda ()
(unless (derived-mode-p 'makefile-mode 'js-mode)
(flycheck-mode))))
)
;; Mostrar los errores de flycheck en un pop up
(use-package flycheck-popup-tip
:defer t
:straight t
:hook (flycheck-mode . flycheck-popup-tip-mode))
(provide 'init-lsp) (provide 'init-lsp)
;;; init-lsp.el ends here ;;; init-lsp.el ends here