Commit Graph

175 Commits

Author SHA1 Message Date
8ecec82eef tools/lsp: Make lsp checker chained to other checkers 2020-05-30 23:05:08 +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
f9d30cbf90 Wrap 'eglot-server-programs usage in after! eglot 2020-05-28 11:49:53 +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
004ca6cf40 [review] Address eglot-flymake-backend call readablity 2020-05-28 09:34:19 +02:00
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
8c3f24f14c Disable lsp-auto-guess-root
This was too confusing for beginners. May as well have LSP prompt or a
project than sometimes guess incorrectly.

Closes #3212, #3075
2020-05-25 16:48:42 -04:00
c4e8aa0baa Bump :tools lsp
emacs-lsp/lsp-mode@9305777 -> emacs-lsp/lsp-mode@81d62d5

Which includes a fix for emacs-lsp/lsp-mode#1705
2020-05-21 02:01:13 -04:00
20f22d5741 Bump :tools lsp
emacs-lsp/lsp-ivy@81e81ce -> emacs-lsp/lsp-ivy@dce58b5
emacs-lsp/lsp-mode@bac42c5 -> emacs-lsp/lsp-mode@9305777
emacs-lsp/lsp-ui@ab55e30 -> emacs-lsp/lsp-ui@271b47c
2020-05-19 21:50:25 -04:00
59b73121d0 Merge pull request #3094 from sei40kr/add-lookup-handlers
tools/lookup: Support lookup handlers for implementations and type definition
2020-05-14 04:21:24 -04:00
0fb303c98a Merge pull request #3113 from nobv/add-purescriipt-lsp
Added +lsp flag to lang/purescript
2020-05-14 04:20:53 -04:00
b1d9e39a8a Bump :tools debugger lsp pdf
emacs-lsp/dap-mode@cc2eb2f -> emacs-lsp/dap-mode@8f69dc2
emacs-lsp/lsp-mode@11750e7 -> emacs-lsp/lsp-mode@bac42c5
emacs-lsp/lsp-ui@1288be9 -> emacs-lsp/lsp-ui@ab55e30
politza/pdf-tools@d971298 -> politza/pdf-tools@c510442
realgud/realgud@e03446f -> realgud/realgud@1238d8e
2020-05-14 00:12:10 -04:00
caf45044e8 Fixed README 2020-05-13 17:39:56 +09:00
a036513241 Added +lsp flag to lang/purescript 2020-05-13 17:32:20 +09:00
717d53c666 Tweak GC settings, particularly for org & lsp
These two modes are particularly expensive. This needs more
testing.
2020-05-12 19:59:14 -04:00
d08f2dd888 tools/lookup: Support type definition lookup handlers 2020-05-12 01:06:23 +09:00
13134726dc tools/lookup: Support implementations lookup handlers 2020-05-12 01:03:52 +09:00
e2b5f50e7b Fix wrong-type-arg lsp--client in set-lsp-priority! 2020-05-09 01:37:40 -04:00
ba0c89288d Fix void-variable server in set-lsp-priority! 2020-05-09 01:20:36 -04:00
51cf9dcc50 Bump :tools lsp
emacs-lsp/lsp-mode@941e606 -> emacs-lsp/lsp-mode@11750e7
emacs-lsp/lsp-ui@43f71e3 -> emacs-lsp/lsp-ui@1288be9
2020-05-08 15:55:58 -04:00
4f3cf24afb Only enable lsp keymap binding when +bindings 2020-05-04 10:12:17 +01:00
fb3c6f9d78 Merge branch 'develop' of https://github.com/hlissner/doom-emacs into add-lsp-command-map 2020-05-04 10:04:23 +01:00
023027b3db Bump :tools lsp
emacs-lsp/lsp-mode@d0096cc -> emacs-lsp/lsp-mode@941e606
emacs-lsp/lsp-ui@242dfe8 -> emacs-lsp/lsp-ui@43f71e3

Includes LSP 6.3.1 release.
2020-05-02 22:44:46 -04:00
b3c957065c Remove company-lsp fallback
Issues with ts-ls and gopls have been reportedly resolved upstream, so
we are fully committing to company-capf as LSP's chosen backend.
2020-05-02 22:38:36 -04:00
2ad934d777 Bump to emacs-lsp/lsp-mode@d0096cc
From emacs-lsp/lsp-mode@87ea1df
2020-05-01 09:59:22 +09:00
55af2c7641 Merge pull request #3002 from sei40kr/delete-lsp-groovy-server-install-dir
Remove `lsp-groovy-server-install-dir`
2020-04-30 01:48:24 -04:00
40c185bd70 Bump :tools
Silex/docker.el@a2092b3 -> Silex/docker.el@0874520
emacs-lsp/dap-mode@0b9c8f2 -> emacs-lsp/dap-mode@804e364
emacs-lsp/helm-lsp@db24399 -> emacs-lsp/helm-lsp@6b5ce18
emacs-lsp/lsp-mode@4898d35 -> emacs-lsp/lsp-mode@87ea1df
emacs-straight/rainbow-mode@3ef813d -> emacs-straight/rainbow-mode@f780ddb
emacsorphanage/quickrun@50e07e7 -> emacsorphanage/quickrun@2e37ce9
magit/magit@8de6ecf -> magit/magit@d27d6e4
maxchaos/emacs-powerthesaurus@81a262e -> maxchaos/emacs-powerthesaurus@4a83478
millejoh/emacs-ipython-notebook@1322d8c -> millejoh/emacs-ipython-notebook@42134ad
politza/pdf-tools@0159cb1 -> politza/pdf-tools@d971298
realgud/realgud@b854e04 -> realgud/realgud@e03446f
tumashu/posframe@e62e584 -> tumashu/posframe@093b29a
zx2c4/password-store@88936b1 -> zx2c4/password-store@07b169e

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-04-30 01:27:58 -04:00
84a179592d Remove lsp-groovy-server-install-dir 2020-04-29 23:16:15 +09:00
740b16a33f Bump :tools lsp
emacs-lsp/helm-lsp@46a72f5 -> emacs-lsp/helm-lsp@db24399
emacs-lsp/lsp-ivy@a6b7841 -> emacs-lsp/lsp-ivy@81e81ce
emacs-lsp/lsp-mode@e8e52fd -> emacs-lsp/lsp-mode@4898d35
2020-04-25 21:50:03 -04:00
6315984ae6 Add workaround for tigersoldier/company-lsp#128
Fix from emacs-lsp/lsp-python-ms#79
2020-04-21 22:02:48 -04:00
c56afcfe01 Add lsp-command-map to SPC-c-l
The default lsp-mode bindings are bound to `s-l` which is impractical
for anyone using keybindings in their window manager. It also conflicts
w/ the doom approach of using leader keys. This change makes
all the default lsp bindings (see
https://github.com/emacs-lsp/lsp-mode#commands) available on SPC-c-l.

So for example, restarting the lsp server can be done with `SPC c l s r`.
2020-04-21 22:22:14 +01:00
5ebc840308 Bump :tools lsp
emacs-lsp/lsp-mode@6671128 -> emacs-lsp/lsp-mode@e8e52fd
2020-04-17 22:15:07 -04:00
2a93ff6ad4 Bump :tools lsp
emacs-lsp/lsp-mode@401d724 -> emacs-lsp/lsp-mode@6671128
emacs-lsp/helm-lsp@6f62659 -> emacs-lsp/helm-lsp@46a72f5

Possibly relevant to #2911
2020-04-16 15:38:56 -04:00
bf657406b2 lsp-enable-links = nil #2911 2020-04-16 15:37:57 -04:00
2b67d958e6 Fix lsp-restart-workspace not working
Because I forgot to forward the RESTART argument for lsp--shutdown-workspace.
2020-04-15 15:54:05 -04:00
abfa09f86d Focus lsp doc popup after +lookup/documentation 2020-04-15 00:13:35 -04:00
42084af680 Add popup rule for *lsp-help* 2020-04-11 23:05:54 -04:00
d41da2a14a Bump :tools lsp
emacs-lsp/lsp-mode@76fe399 -> emacs-lsp/lsp-mode@401d724
emacs-lsp/lsp-ui@134d9b7 -> emacs-lsp/lsp-ui@242dfe8
emacs-lsp/lsp-ivy@39b90e7 -> emacs-lsp/lsp-ivy@a6b7841
2020-04-07 20:25:48 -04:00
74f64c63f0 Add set-lsp-priority! autodef & +lsp/switch-client command
Relevant to #2689
2020-04-02 00:56:26 -04:00
b3af9dbc3c Add +lsp-defer-shutdown variable 2020-04-01 13:57:21 -04:00
83b6f74d11 Minor refactors & reformatting 2020-03-27 21:39:27 -04:00
48744dbd37 Mention disabled auto-install of LSP servers in readme 2020-03-27 16:49:59 -04:00
d40e5dff4e Make a few LSP features opt-in
For the sake of speed and reliability. Support for some of these
features are poorly implemented in some servers, and many are redundant
with mechanisms already available in Emacs/Doom.
2020-03-27 16:33:17 -04:00
5c3d54f19b Bump :tools lsp
emacs-lsp/lsp-mode@355d4da -> emacs-lsp/lsp-mode@76fe399
emacs-lsp/lsp-ui@70c2fec -> emacs-lsp/lsp-ui@134d9b7
emacs-lsp/lsp-ivy@78c1429 -> emacs-lsp/lsp-ivy@39b90e7
2020-03-27 16:32:39 -04:00
169f9a6121 General, minor refactor & reformatting 2020-03-27 01:25:30 -04:00
dd402b7db3 Remove references to enh-ruby-mode 2020-03-12 11:29:54 -04:00