Commit Graph

12 Commits

Author SHA1 Message Date
22b6eaed03 Rethink lsp defaults
+ Allow LSP to prompt to install servers. All this machinary just adds
more confusion for beginners, and at least LSP asks for your permission
before it does it.
+ Reverts lsp-enable-file-watchers and lsp-enable-indentation to their
default (enabled), hopefully to help lsp-java, lsp-dart, and lsp-clojure
users, for whom file-watchers seems to be necessary.
+ Apply GC/IPC optimizations globally, to ensure their reach. By only
setting them buffer-locally we don't have a guarantee that subprocesses
will be affected when the lsp buffer isn't focused.

Closes #3989

Co-authored-by: Eric Dallo <ercdll1337@gmail.com>
2020-10-11 18:32:42 -04:00
4e82ee4397 Refactor doom-debug-mode
+ Add explain-pause-mode
+ Now reloads itself if doom-debug-variables is changed or when one of
  its variables becomes available.
+ doom-debug-variables now supports a cons cell entry where its CAR is
  the name of the variable and CDR is the value it should be set to when
  doom-debug-mode is active.
2020-08-21 01:26:24 -04:00
06c6946742 tools/lsp: defer auto-shutdown of eglot server 2020-08-21 00:03:01 -04:00
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
6cf5d72ff6 Generalize LSP optimizations to include eglot 2020-08-12 00:34:09 -04:00
d8c6030a14 tools/lsp: Use general implementation lookup handler 2020-06-24 01:56:26 +09:00
d502c7c06a tools/lsp: minor refactors 2020-05-28 22:01:23 -04:00
dc3c2f9e78 [review] no extension in load! / rename interactive function 2020-05-28 13:13:00 +02:00
c41ae8995b Remove redundant featurep! check 2020-05-28 11:50:24 +02:00
f35768af86 Fix loading of flycheck-eglot 2020-05-28 11:19:33 +02:00
718d9a2690 [review] Changes 2020-05-28 11:17:55 +02:00
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