Compare commits

...

2 Commits

Author SHA1 Message Date
kj
14ecdc2269 Try eglot with flymake instead flycheck. 2022-11-22 19:35:03 -04:00
kj
099ddda6db Move flycheck to LSP. 2022-11-22 19:34:06 -04:00
4 changed files with 20 additions and 19 deletions

View File

@ -17,7 +17,7 @@
;; (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")))
(add-hook 'eglot--managed-mode-hook (lambda () (flymake-mode -1)))
;; (add-hook 'eglot--managed-mode-hook (lambda () (flymake-mode -1)))
)
;; Emmet (mientras veo como hacer funcionar emmet-ls)

View File

@ -73,22 +73,6 @@
doom-modeline-indent-info nil
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.
(use-package git-gutter
:defer t

View File

@ -246,5 +246,22 @@
(push 'lsp-treemacs-symbols-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)
;;; init-lsp.el ends here

View File

@ -43,8 +43,8 @@
(require 'init-extensions)
(require 'init-functions)
(require 'init-org)
(require 'init-lsp)
;; (require 'init-eglot)
;; (require 'init-lsp)
(require 'init-eglot)
(require 'init-company)
(require 'init-treemacs)
;;(require 'init-ctags)