Commit graph

61 commits

Author SHA1 Message Date
Henrik Lissner
50f1391e86
Fix #3274: don't chain checkers to LSP
Reverts 8ecec82
2020-08-12 00:34:01 -04:00
Henrik Lissner
358ca9864b
tools/lsp: remove redundant config
lsp-enable-links was re-enabled in edf5249d1, since #2911 is no longer
an issue.
2020-08-09 01:50:41 -04:00
Henrik Lissner
69259093e2
tools/lsp: fix lsp-mode init
3f5cc4c63 introduced some big changes to how Doom starts lsp-mode. I've
deferred much more of the work to upstream, but it:

1. lsp's errors no longer made sense (complaining about servers having
   no automated install routine, despite having one).
2. Broke lsp support in indirect buffers (like org src/capture buffers).

So I half-reverted 3f5cc4c63 and added a +lsp-auto-install-servers
variable to make it optional (albeit opt-in).
2020-08-06 20:45:16 -04:00
Henrik Lissner
3f5cc4c630
Bump :tools lsp debugger
emacs-lsp/dap-mode@8c59b0a -> emacs-lsp/dap-mode@85a6163
emacs-lsp/lsp-mode@0131f1f -> emacs-lsp/lsp-mode@edb8119
realgud/realgud@de31e77 -> realgud/realgud@5b0ed08
tumashu/posframe@b3028b0 -> tumashu/posframe@6d604a7

Also refactors the :tools lsp module. Recent changes upstream have made
a few of our hacks unnecessary (or easier to pull off without advice).

Upstream has also introduced optimizations!
2020-08-06 19:36:22 -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
Henrik Lissner
e852ac0469
Re-introduce +lsp-company-backends
Not a perfect solution, but it'll do while I figure out a better
solution for set-company-backends!'s inflexibility.
2020-08-01 15:18:02 -04:00
Henrik Lissner
661477f5da
Remove lsp-flycheck-live-reporting setting
This variable was removed upstream.
2020-06-24 19:04:47 -04:00
Henrik Lissner
8bf902d5f4
General refactors & reformatting across the board 2020-06-04 20:13:28 -04:00
Henrik Lissner
db25224e18
Fix #3286: prevent nil flycheck checker 2020-06-04 19:43:20 -04:00
Seong Yong-ju
8ecec82eef tools/lsp: Make lsp checker chained to other checkers 2020-05-30 23:05:08 +09:00
Gerry Agbobada
6a163fd5c1
[review] create +lsp.el and +eglot.el files
This means we can remove a lot of `:unless (featurep! +eglot)`
2020-05-28 11:17:55 +02:00