Commit graph

9 commits

Author SHA1 Message Date
Gerry Agbobada
813dc6e664
fix(:tools lsp): make eglot diags use flycheck with :checkers syntax
Research on how Flycheck work, and a pending fix from Eglot, allowed to
get a cleaner representation of how this "hack" works and make it more
resilient

Co-Authored-By: Steve Purcell <steve@sanityinc.com>
2021-04-14 09:09:37 +02:00
Henrik Lissner
d4eb7e31ac Fix #4771: give lsp-find-* precedence over fallbacks
LSP lookup handlers should have the highest precedence, but this wasn't
the case due to a regression in 430d628.
2021-03-27 21:45:19 -04:00
Gerry Agbobada
01f54d2950
Add comment for further maintenance 2021-01-19 18:52:11 +01:00
Henrik Lissner
ffb21b18e5
tools/lsp: minor refactor & doc revision 2020-08-22 15:34:52 -04:00
Henrik Lissner
9e9b95f49c
Fix #3789: fix eglot lookup-documentation handler
Eglot replaced `eglot-help-at-point' in joaotavora/eglot@a044dec,
breaking our documentation lookup handler.
2020-08-20 14:07:47 -04:00
Henrik Lissner
7784c0b6e9
No-op (lsp) if already enabled #3390
`lsp-deferred` calls `lsp` and `lsp` seems to do something expensive
whether or not lsp-mode is already active. Over TRAMP, this is much too
expensive, so we no-op lsp-deferred if lsp-mode is already active.
2020-08-02 16:27:09 -04:00
Gerry Agbobada
f9d30cbf90
Wrap 'eglot-server-programs usage in after! eglot 2020-05-28 11:49:53 +02:00
Gerry Agbobada
718d9a2690
[review] Changes 2020-05-28 11:17:55 +02:00
Gerry Agbobada
3e5b7cce3f
[eglot] Add support for eglot lsp client in emacs
- Update README
- Add eglot-specifics to cc, rs, py, hs
  removing unused lsp-mode packages when eglot is active
- Add eglot-specific bindings
- Add doctor warnings for debugger +lsp and +peek
- Add eglot-backed lookup-handlers
- Add flycheck checker using eglot for :checkers
  syntax users (using flycheck/flycheck#1676 and
  flycheck/flycheck#1592 discussion).
  This implementation is based on @marsam code, and uses recent
  Flycheck development in order to make the code smaller and
  easier to maintain.
2020-05-28 09:34:10 +02:00