Commit graph

21 commits

Author SHA1 Message Date
Benjamin Tan
86ce548e5d
Update documentation 2021-04-05 16:21:31 +08:00
Han
ba0f791b05
lang/julia: improve lsp support (#4012)
* lang/julia: include lsp-julia w/o language server

Use nonrecursive clone to get lsp-julia without bundled
LanguageServer.jl (plus dependencies) and include instructions in the
README on how to install the language server (bundled or otherwise).

* lang/julia: add checks for julia +lsp in doctor

Add two checks, both only for when the +lsp feature is enabled:
- Check if (:tools lsp) is selected
- Check if LanguageServer.jl is installed

* lang/julia: indicate SymbolServer.jl as dependency

It is itself a dependency of LanguageServer.jl, but it's necessary to
add it separately in order to do `using SymbolServer`.

* tools/lsp: add julia language server to list

* lang/julia: add eglot support using eglot-jl

Forcing eglot-jl to not install its own LanguageServer.jl is a bit of a
hack though.

* lang/julia: make timeout increase buffer-local

Suggestion by @benneti to use `setq-local` instead of `setq` to prevent
a timeout increase in non-Julia eglot buffers.

* Fix issues

Co-authored-by: Henrik Lissner <henrik@lissner.net>
2021-03-01 22:25:35 -05:00
Henrik Lissner
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
Jeremy Bi
599d3929f0 Bump :lang haskell
emacs-lsp/lsp-haskell@17d7d4c -> emacs-lsp/lsp-haskell@a56667b
haskell/haskell-mode@41683c0 -> haskell/haskell-mode@e726776
jyp/attrap@4cf3e4a -> jyp/attrap@9c88154
jyp/dante@c516bc9 -> jyp/dante@e2acbf6

Switch to haskell-language-server, see https://neilmitchell.blogspot.com/2020/09/dont-use-ghcide-anymore-directly.html
2020-10-05 20:56:34 +08:00
Henrik Lissner
134f959838
tools/lsp: update readme TOC 2020-08-24 22:27:40 -04:00
Henrik Lissner
ffb21b18e5
tools/lsp: minor refactor & doc revision 2020-08-22 15:34:52 -04:00
Johan Thorén
a0b85e522a
Added clojure to list of supported lsp languages. (#3561) 2020-07-17 20:15:33 -04: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
nobv
caf45044e8 Fixed README 2020-05-13 17:39:56 +09:00
nobv
a036513241 Added +lsp flag to lang/purescript 2020-05-13 17:32:20 +09:00
Henrik Lissner
48744dbd37
Mention disabled auto-install of LSP servers in readme 2020-03-27 16:49:59 -04:00
Henrik Lissner
169f9a6121
General, minor refactor & reformatting 2020-03-27 01:25:30 -04:00
Henrik Lissner
dd402b7db3
Remove references to enh-ruby-mode 2020-03-12 11:29:54 -04:00
Sebastian Sturm
998dccd8fe Modernize lsp-mode integration
* switch the company-backend used by lsp-mode from company-lsp to
company-capf (said to provide better performance and allows us to remove
the dependency on company-lsp)

* when available (on recent builds of Emacs 27+), lsp-mode buffers will
now use a larger than default value of `read-process-output-max`.
According to the lsp-mode performance guide, this can also significantly
improve lsp-mode performance

* flycheck support recently moved into lsp proper; with this commit,
the lsp module follows suit and prefers lsp-flycheck over
lsp-ui-flycheck

* if the new module flag `+no-peek` is set, doom-emacs will now use the xref
backend for reference and definition lookup instead of the lsp-ui-peek-*
backend offered by lsp-ui-mode
2020-02-28 10:45:25 +01:00
Sebastian Sturm
ca1a614e63 Fix typo 2020-02-27 13:51:11 +01:00
Gerry Agbobada
f5d1081cde Add lsp-ivy and helm-lsp when :tools lsp (#2162)
* Add lsp-ivy and helm-lsp when :tools lsp
* Review

- Move the packages to :tools lsp
- Add bindings to config/+evil-bindings.el (no change to +emacs since
  there was no 'code' prefix)
- Move README section
- Move the packages to :tools lsp
- Add bindings to config/+evil-bindings.el (no change to +emacs since
  there was no 'code' prefix)

* FUp filechange noise
2019-12-19 18:49:27 -05:00
Henrik Lissner
71e85b4d58
tools/lsp: update README 2019-10-26 04:05:34 -04:00
Oleksii Filonenko
887a36aacf
Add support for Elixir LSP via elixir-ls
- Document Elixir with LSP via elixir-ls
- Add ~+lsp~ flag to ~:lang elixir~
2019-07-26 22:17:01 +03:00
Henrik Lissner
f9b6f6746f
General, minor refactor/reformatting 2019-04-08 23:03:19 -04:00
Henrik Lissner
ffe297bc7f
lang/haskell: rewrite README + minor refactor
- Documents lsp-haskell
- Use hie-wrapper on MacOS
- Update tools/lsp README to include :lang haskell
- Mention cabal-new-repl setting (#1140)
2019-04-07 16:46:59 -04:00
Henrik Lissner
fa95984427
tools/lsp: add basic README 2019-04-06 01:37:11 -04:00