Commit graph

232 commits

Author SHA1 Message Date
Itai Y. Efrat
24eaa1317c completion/selectrum -> completion/vertico, part 2
- Rename module from `:completion selectrum` to `:completion vertico`
- Rename all files involved
- Do *not* yet rename all the functions, as that messes up git's rename
  detection.
2021-07-25 02:51:15 +03:00
Itai Y. Efrat
53e2c32a69 Bump consult-lsp
gagbo/consult-lsp@ed3cfd2 ->  gagbo/consult-lsp@c882749
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
5f12afca34 :tools lsp update readme to include consult-lsp 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
e8dc511c74 selectrum: move consult-lsp to :tools lsp
where it belongs
2021-07-25 02:49:41 +03:00
Henrik Lissner
480f99c207
Merge pull request #4961 from gagbo/patch-10
Feature-gate :tools lsp company-specific hooks
2021-07-24 18:30:35 -04:00
Lordie
22e6912846
show all available lsp servers when switching (#5191)
* show all available lsp servers

show all available lsp servers instead of only high priority ones

* fixes +lsp/switch-client priority reset

now waits for lsp to initialize before restoring the default client priority
2021-07-24 18:28:07 -04:00
Henrik Lissner
edc527bb26 tools/lsp: add lsp-racket to lsp-client-packages
Should be PRed upstream.
2021-07-12 20:15:29 -04:00
Henrik Lissner
6997adb654 Bump :tools
Silex/docker.el@bc2dc09 -> Silex/docker.el@9bcefbe
cjohansson/emacs-ssh-deploy@fce4ea3 -> cjohansson/emacs-ssh-deploy@7c5fe8a
emacs-lsp/dap-mode@4347846 -> emacs-lsp/dap-mode@01d9297
emacs-lsp/lsp-mode@9aa22de -> emacs-lsp/lsp-mode@aec8968
emacs-lsp/lsp-ui@9953a48 -> emacs-lsp/lsp-ui@cb02972
emacs-pe/docker-tramp.el@8e2b671 -> emacs-pe/docker-tramp.el@aaee11c
emacsorphanage/terraform-mode@a9fa5bd -> emacsorphanage/terraform-mode@e560caa
jacktasia/dumb-jump@8f70acb -> jacktasia/dumb-jump@542e72d
joaotavora/eglot@a5b7b7d -> joaotavora/eglot@5cc8df6
magit/forge@551e515 -> magit/forge@b4fd066
magit/magit@b68a760 -> magit/magit@9b7b25f
tumashu/posframe@739d8fd -> tumashu/posframe@f97c4af
xuchunyang/osx-dictionary.el@4d4cc19 -> xuchunyang/osx-dictionary.el@1a4479d
zx2c4/password-store@4e73cdc -> zx2c4/password-store@3dd1469
2021-07-09 17:42:18 -04:00
Henrik Lissner
ba716d69f0 Fix #5125: mix snippets with completion candidates
So snippets aren't all the way at the bottom of the candidate list.

Closes #5220
2021-07-09 13:25:14 -04:00
Cora Sutton
7925759b8e
Set the lsp-ui-sideline-actions-icon to the default
When Emacs 26.x support was in place this was originally:

```elisp
lsp-ui-sideline-actions-icon (if EMACS27+ lsp-ui-sideline-actions-icon-default)
```

But when it was removed it became:

```elisp
lsp-ui-sideline-actions-icon t
```

The docs for lsp-ui-sideline-actions-icon say:

```
Image file for actions.  It must be a png file.
```

Setting this to `t` results in a whole lot of these messages:

```
[lsp-ui-sideline]: Error with actions icon: (error Invalid image specification)
```

So the solution seems to me to be to set it to:

```elisp
lsp-ui-sideline-actions-icon lsp-ui-sideline-actions-icon-default
```

I've set it in my emacs and it seems to work.
2021-07-06 13:46:53 -05:00
Henrik Lissner
044a1a5f2b Drop Emacs 26.x support
Emacs 27.x has been the stable version of Emacs for nearly a year, and
introduces a litany of bugfixes, performance, and quality-of-life
improvements that significantly reduce Doom's maintenance burden (like
XDG support, early-init.el, image manipulation without imagemagick, a
native JSON library, harfbuzz support, pdumper, and others).

With so many big changes on Doom's horizon, I like having one less (big)
thing to worry about.

Also reverts bb677cf7a (#5232) as it is no longer needed.
2021-07-06 02:31:52 -04:00
Henrik Lissner
9da4ac05ad Fix #4894: +lookup/references not following references 2021-06-04 01:30:34 -04:00
Henrik Lissner
3a0bf17f2f lsp-ui-doc-enable = nil
Disabling this by default until emacs-lsp/lsp-ui#613 is addressed.
2021-05-23 22:09:07 -04:00
Henrik Lissner
c525666688 Bump :tools
DamienCassou/auth-password-store@468bba2 -> DamienCassou/auth-password-store@fa8b964
Silex/docker.el@ed0cdf0 -> Silex/docker.el@bc2dc09
cjohansson/emacs-ssh-deploy@cc91b56 -> cjohansson/emacs-ssh-deploy@fce4ea3
editorconfig/editorconfig-emacs@9da2dab -> editorconfig/editorconfig-emacs@e10fa22
emacs-lsp/dap-mode@49af1b8 -> emacs-lsp/dap-mode@4347846
emacs-lsp/lsp-ivy@4dcb635 -> emacs-lsp/lsp-ivy@bccd860
emacs-lsp/lsp-mode@3dc87f6 -> emacs-lsp/lsp-mode@aec8968
emacs-lsp/lsp-ui@efae00e -> emacs-lsp/lsp-ui@cb02972
emacsorphanage/quickrun@57db985 -> emacsorphanage/quickrun@35e91f4
jacktasia/dumb-jump@8bc1950 -> jacktasia/dumb-jump@8f70acb
joaotavora/eglot@b06589b -> joaotavora/eglot@a5b7b7d
magit/forge@f4c95dd -> magit/forge@37aa4e4
magit/magit@577f16d -> magit/magit@e378827
millejoh/emacs-ipython-notebook@142ff50 -> millejoh/emacs-ipython-notebook@09af858
purcell/envrc@110a221 -> purcell/envrc@8a9a142
realgud/realgud@34557f8 -> realgud/realgud@7a70b27
spotify/dockerfile-mode@3b13745 -> spotify/dockerfile-mode@ad06a41
tkf/emacs-request@accd430 -> tkf/emacs-request@f3a5b43
tmalsburg/helm-bibtex@ca09076 -> tmalsburg/helm-bibtex@9f6ea92
vedang/pdf-tools@35e12b0 -> vedang/pdf-tools@d262cf9
yoshiki/yaml-mode@fc5e1c5 -> yoshiki/yaml-mode@3a57058
zx2c4/password-store@918992c -> zx2c4/password-store@4e73cdc
2021-05-22 22:43:56 -04:00
Sam Whitlock
01b3e1d8d8
Noting the lsp-peek handlers as :async
Without this, subsequent handlers registered (e.g. those from other
completion frameworks) will also pop up in addition to the peek UI.
This creates UI lock-up and is generally undesired.
2021-05-20 20:29:08 +02:00
Henrik Lissner
69bd3da195 Don't enable lsp-ui-mode in lsp--auto-configure
Using a hook instead is more sensible (users can trivially configure
it).
2021-05-18 01:06:15 -04:00
Henrik Lissner
d141f39ee7 tools/lsp: remove unneeded lsp-ui-*-enable checks 2021-05-18 00:05:15 -04:00
Henrik Lissner
e2077c823a tools/lsp: minor refactor
And several updates necessary for ff3c9777e.
2021-05-16 21:17:16 -04:00
Eric Dallo
c224e2e771
Move to global-mode-string 2021-05-15 18:30:59 -03:00
Henrik Lissner
ff3c9777e7 Bump :tools debugger lsp
emacs-lsp/dap-mode@ae395aa -> emacs-lsp/dap-mode@49af1b8
emacs-lsp/helm-lsp@74a02f8 -> emacs-lsp/helm-lsp@c2c6974
emacs-lsp/lsp-ivy@515e597 -> emacs-lsp/lsp-ivy@4dcb635
emacs-lsp/lsp-mode@eda51c2 -> emacs-lsp/lsp-mode@3dc87f6
emacs-lsp/lsp-ui@1dbea9f -> emacs-lsp/lsp-ui@efae00e
emacs-straight/project@388ffdf -> emacs-straight/project@ef2d487
joaotavora/eglot@f930a09 -> joaotavora/eglot@b06589b
realgud/realgud-trepan-ni@6e38cf8 -> realgud/realgud-trepan-ni@0ec088e
realgud/realgud@f73c039 -> realgud/realgud@34557f8
tumashu/posframe@fff21cc -> tumashu/posframe@739d8fd
2021-05-15 14:08:21 -04:00
Gerry Agbobada
fda382cc86
Feature-gate :tools lsp company-specific hooks
As I’m trying to use [corfu](https://github.com/minad/corfu) for a bit, I found out that this hook prevents lsp-mode from starting if company-mode isn’t used.
2021-05-01 13:03:07 +02:00
Yiming Chen
00de463d10 Indicate that lsp-find-implementation is async as well
- this fixes an issue that when there are multiple implementations, jump
  to one implementation that's in another file fails
2021-04-17 08:54:50 +08:00
Yiming Chen
6563e89bda Indicate that lsp-describe-thing-at-point is async
- otherwise, `+lookup-online-backend-fn` would be called as well
- lsp-describe-thing-at-point was marked as not async in
  d4eb7e31ac
- but `lsp-describe-thing-at-point` calls `lsp--make-request`
  internally (which is async I assume):
  eda51c2166/lsp-mode.el (L4677)
2021-04-17 07:58:50 +08:00
Henrik Lissner
c77cebfef8 Remove trailing slash on lsp-server-install-dir
Fixes some issues with lsp-mode's downloader resolving paths to
downloaded assets. For example, lua-language-server fails to download
when lsp-server-install-dir has a trailing slash (see #4846).

Fix #4846
2021-04-15 01:22:07 -04:00
Henrik Lissner
09fc756f0d
Merge pull request #4827 from bnjmnt4n/module/lang/zig
Add `:lang zig` module
2021-04-15 00:26:31 -04:00
Henrik Lissner
241e040e4d tools/lsp: remove redundant lsp-clients-lua-language-server-bin
This was already upstreamed.
2021-04-14 23:43:45 -04:00
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
Gerry Agbobada
539ab8d1e9
Bump eglot
joaotavora/eglot@2fbcab2 -> joaotavora/eglot@f930a09
2021-04-14 09:08:17 +02:00
Benjamin Tan
86ce548e5d
Update documentation 2021-04-05 16:21:31 +08: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
Henrik Lissner
e4c4e3f48c Move lsp-intelephense-storage-path to doom-etc-dir
Longer-lived files should live in doom-etc-dir, not doom-cache-dir.
2021-03-27 18:27:19 -04:00
Henrik Lissner
af90333bcd Bump *
Alexander-Miller/treemacs@6857816 -> Alexander-Miller/treemacs@9eaef27
DarwinAwardWinner/amx@b991497 -> DarwinAwardWinner/amx@37f9c7a
Dewdrops/evil-exchange@3030e21 -> Dewdrops/evil-exchange@ac50f21
JuliaEditorSupport/julia-emacs@8ea90c7 -> JuliaEditorSupport/julia-emacs@fe6f6f7
OmniSharp/omnisharp-emacs@8ec5929 -> OmniSharp/omnisharp-emacs@5fad683
ProofGeneral/PG@bdb6782 -> ProofGeneral/PG@f0f0476
Sarcasm/irony-mode@76fd37f -> Sarcasm/irony-mode@ec6dce7
Silex/docker.el@0ca910b -> Silex/docker.el@ed0cdf0
Wilfred/helpful@584ecc8 -> Wilfred/helpful@7e4b1f0
abo-abo/swiper@1deef76 -> abo-abo/swiper@bb7965a
agda/agda@9d08edb -> agda/agda@ecb9323
akermu/emacs-libvterm@a3fadd2 -> akermu/emacs-libvterm@1bc4516
akreisher/eshell-syntax-highlighting@172c9fb -> akreisher/eshell-syntax-highlighting@eeace52
alexmurray/flycheck-posframe@24fd9b3 -> alexmurray/flycheck-posframe@8f60c9b
amake/flutter.el@696228a -> amake/flutter.el@960b635
ananthakumaran/tide@7f7334b -> ananthakumaran/tide@ad6fa78
asok/projectile-rails@8d6b373 -> asok/projectile-rails@f1fe6e8
bastibe/org-journal@f4b1549 -> bastibe/org-journal@043bb9e
bbatsov/projectile@fd59947 -> bbatsov/projectile@1528ed4
bradyt/dart-mode@04fcd64 -> bradyt/dart-mode@43975c9
brotzeit/rustic@61d600e -> brotzeit/rustic@d97ec86
charignon/github-review@d0c8234 -> charignon/github-review@341b7a1
clojure-emacs/cider@815204f -> clojure-emacs/cider@4278d7c
clojure-emacs/clj-refactor.el@b24ce76 -> clojure-emacs/clj-refactor.el@9f3e735
clojure-emacs/clojure-mode@f26379b -> clojure-emacs/clojure-mode@a14671e
codesuki/add-node-modules-path@f31e69c -> codesuki/add-node-modules-path@7d9be65
company-mode/company-mode@88001d7 -> company-mode/company-mode@7207cb1
cpitclaudel/company-coq@4da7b41 -> cpitclaudel/company-coq@7423ee2
cython/cython@9a761a6 -> cython/cython@9decfca
dgutov/diff-hl@4c46b3b -> dgutov/diff-hl@1af31fe
dgutov/robe@3ef165c -> dgutov/robe@126650a
domtronn/all-the-icons.el@2f5ea72 -> domtronn/all-the-icons.el@a8c8417
editorconfig/editorconfig-emacs@048c553 -> editorconfig/editorconfig-emacs@9da2dab
elixir-editors/emacs-elixir@9de08c1 -> elixir-editors/emacs-elixir@0212b06
ema2159/centaur-tabs@50fd573 -> ema2159/centaur-tabs@df97209
emacs-csharp/csharp-mode@09b4d57 -> emacs-csharp/csharp-mode@f977800
emacs-ess/ESS@5169b0d -> emacs-ess/ESS@126d344
emacs-evil/evil-collection@334670e -> emacs-evil/evil-collection@b45ec5b
emacs-evil/evil@cc9d688 -> emacs-evil/evil@7eace67
emacs-helm/helm-org@b7a18df -> emacs-helm/helm-org@d67186d
emacs-helm/helm@dbdec63 -> emacs-helm/helm@98af298
emacs-jp/migemo@f42832c -> emacs-jp/migemo@f756cba
emacs-lsp/dap-mode@aa15b9c -> emacs-lsp/dap-mode@ae395aa
emacs-lsp/helm-lsp@e934fea -> emacs-lsp/helm-lsp@74a02f8
emacs-lsp/lsp-dart@71902ca -> emacs-lsp/lsp-dart@f3b70ec
emacs-lsp/lsp-ivy@c70ee8b -> emacs-lsp/lsp-ivy@515e597
emacs-lsp/lsp-java@5f6d357 -> emacs-lsp/lsp-java@542aaf1
emacs-lsp/lsp-metals@c76eeb6 -> emacs-lsp/lsp-metals@51a89c1
emacs-lsp/lsp-mode@c3cbadc -> emacs-lsp/lsp-mode@eda51c2
emacs-lsp/lsp-ui@0ac3e12 -> emacs-lsp/lsp-ui@1dbea9f
emacs-php/php-mode@8cdc727 -> emacs-php/php-mode@a2bca9b
emacs-php/phpactor.el@62d2372 -> emacs-php/phpactor.el@80788a8
emacs-straight/auctex@384c4b9 -> emacs-straight/auctex@0f3639a
emacs-straight/dired-git-info@b47f2b0 -> emacs-straight/dired-git-info@9461476
emacs-straight/org-mode@0b117f7 -> emacs-straight/org-mode@7a62a4d
emacs-straight/project@2e7afbe -> emacs-straight/project@388ffdf
emacs-straight/xclip@2951c6b -> emacs-straight/xclip@ef2ad92
emacsattic/nose@f852829 -> emacsattic/nose@f852829
emacsorphanage/quickrun@8008780 -> emacsorphanage/quickrun@57db985
erlang/otp@af06b43 -> erlang/otp@94c9738
factor/factor@1928e60 -> factor/factor@5bfeab6
flycheck/flycheck@01396a5 -> flycheck/flycheck@f8c679f
greghendershott/racket-mode@75ea8f6 -> greghendershott/racket-mode@5115c47
hakimel/reveal.js@0582f57 -> hakimel/reveal.js@cf8e64b
haskell/haskell-mode@3a019e6 -> haskell/haskell-mode@1baa12a
hlissner/doom-snippets@aa5587b -> hlissner/doom-snippets@afe549b
hlissner/emacs-counsel-css@6427dfc -> hlissner/emacs-counsel-css@f7647b4
hlissner/emacs-doom-themes@55f01ed -> hlissner/emacs-doom-themes@4199e74
hlissner/emacs-solaire-mode@a8fe09d -> hlissner/emacs-solaire-mode@9d143db
hvesalai/emacs-sbt-mode@7b121fc -> hvesalai/emacs-sbt-mode@0bdc36b
hvesalai/emacs-scala-mode@402d6df -> hvesalai/emacs-scala-mode@1ab5f64
ideasman42/emacs-spell-fu@a7db587 -> ideasman42/emacs-spell-fu@30c5eea
iqbalansari/emacs-emojify@cfa0086 -> iqbalansari/emacs-emojify@1b72641
jacktasia/dumb-jump@f6a1165 -> jacktasia/dumb-jump@8bc1950
jaor/geiser@26dd2f4 -> jaor/geiser@8e61c27
jcollard/elm-mode@188b9c7 -> jcollard/elm-mode@e9fcf9c
jkitchin/ox-clip@38b83ac -> jkitchin/ox-clip@2095537
joaotavora/eglot@a2d1fc9 -> joaotavora/eglot@2fbcab2
joaotavora/sly@fb84318 -> joaotavora/sly@5966d68
jorgenschaefer/circe@265f36c -> jorgenschaefer/circe@e67e2d1
js-emacs/js2-refactor.el@d4c40b5 -> js-emacs/js2-refactor.el@a0977c4
js-emacs/xref-js2@6f1ed5d -> js-emacs/xref-js2@fd6b723
jscheid/dtrt-indent@4a30d8e -> jscheid/dtrt-indent@37529fc
justbur/emacs-which-key@c0608e8 -> justbur/emacs-which-key@c632dbf
justinbarclay/parinfer-rust-mode@c825606 -> justinbarclay/parinfer-rust-mode@f130fa0
jyp/dante@7b1ab64 -> jyp/dante@8741419
kaushalmodi/ox-hugo@a05667e -> kaushalmodi/ox-hugo@02140a2
kidd/org-gcal.el@0a6f9a7 -> kidd/org-gcal.el@d38acda
leanprover/lean-mode@15bee87 -> leanprover/lean-mode@5c50338
ledger/ledger-mode@3495d12 -> ledger/ledger-mode@32fef09
magit/forge@8382fd3 -> magit/forge@f4c95dd
magit/magit@4735b92 -> magit/magit@577f16d
magit/orgit@ac9b1a4 -> magit/orgit@609fd0c
magnars/expand-region.el@ea6b4cb -> magnars/expand-region.el@4b83227
magnars/multiple-cursors.el@a9d7764 -> magnars/multiple-cursors.el@7b13b03
mhayashi1120/Emacs-wgrep@f0ef9bf -> mhayashi1120/Emacs-wgrep@f9687c2
millejoh/emacs-ipython-notebook@4ff76e5 -> millejoh/emacs-ipython-notebook@142ff50
non-Jedi/lsp-julia@c523c25 -> non-Jedi/lsp-julia@c487ed7
nonsequitur/inf-ruby@1fc972e -> nonsequitur/inf-ruby@c6990a6
ocaml-ppx/ocamlformat@7db8d13 -> ocaml-ppx/ocamlformat@448ac7c
ocaml/dune@f839fc1 -> ocaml/dune@a88ce5b
ocaml/merlin@36d0aef -> ocaml/merlin@cc17ed6
ocaml/tuareg@ccde45b -> ocaml/tuareg@37a6730
org-roam/org-roam@b0fd126 -> org-roam/org-roam@8ad57b1
purcell/diredfl@cd052df -> purcell/diredfl@4ca3265
purcell/envrc@a7c6ca8 -> purcell/envrc@110a221
purescript-emacs/purescript-mode@8410baf -> purescript-emacs/purescript-mode@0acd1af
racer-rust/emacs-racer@f17f9d7 -> racer-rust/emacs-racer@1e63e98
raxod502/prescient.el@9631db7 -> raxod502/prescient.el@8573df9
redguardtoo/evil-nerd-commenter@2730820 -> redguardtoo/evil-nerd-commenter@b8ac35f
rolandwalker/flyspell-lazy@d57382c -> rolandwalker/flyspell-lazy@0fc5996
rubocop/rubocop-emacs@1372ee3 -> rubocop/rubocop-emacs@f5fd18a
seagle0128/doom-modeline@5fe7fd6 -> seagle0128/doom-modeline@00bc89b
seagle0128/grip-mode@1aebf9c -> seagle0128/grip-mode@98d566d
skeeto/elfeed@362bbe5 -> skeeto/elfeed@e29c8b9
skk-dev/ddskk@275a831 -> skk-dev/ddskk@cec9936
snosov1/toc-org@aef220c -> snosov1/toc-org@c4c61c5
spotify/dockerfile-mode@ed1d04c -> spotify/dockerfile-mode@3b13745
takaxp/org-tree-slide@c9487e5 -> takaxp/org-tree-slide@9d2ba1d
technomancy/fennel-mode@bebc9dd -> technomancy/fennel-mode@ba14a7d
travisbhartwell/nix-emacs@977b9a5 -> travisbhartwell/nix-emacs@053a2d5
tumashu/posframe@3454a4c -> tumashu/posframe@fff21cc
tumashu/pyim@e54153f -> tumashu/pyim@f48c3ed
widefox/flycheck-raku@046f35a -> widefox/flycheck-raku@b1acccd
wyuenho/all-the-icons-dired@fc2dfa1 -> wyuenho/all-the-icons-dired@f401fe2
xuchunyang/elisp-demos@ed9578d -> xuchunyang/elisp-demos@924b07d
xuchunyang/osx-dictionary.el@1b79ff6 -> xuchunyang/osx-dictionary.el@4d4cc19
yqrashawn/fd-dired@9fb966d -> yqrashawn/fd-dired@7d18938
yyoncho/helm-icons@5a668ef -> yyoncho/helm-icons@e4a2cd1

Closes #4786
Closes #4801
Closes #4803

Skipped bumping straight.el because of raxod502/straight.el#714. Will
adapt soon.
2021-03-27 18:27:02 -04:00
Sævar Berg
12cf59cf73
Prioritize company-capf over company-yasnippet
This ensures that when doing things like completing on `this.` inside classes, the class fields and methods are shown before the yasnippet snippets.
2021-03-08 13:29:28 +01:00
Henrik Lissner
cb194a31b1
Merge pull request #4512 from jsravn/enable-yasnippet-in-lsp-completion
Include snippets in lsp completion
2021-03-05 23:21:07 -05:00
Henrik Lissner
7afe5dc5c3 tools/lsp: fix void-function lsp--require-packages error 2021-03-05 20:09:22 -05:00
Henrik Lissner
430d628b00 tools/lsp: use xref backend as lookup handler
If lsp-find-{definition,references} fails, it will properly fall through
to other lookup handlers (like dumb-jump).

Fix #4662
Fix #4739
2021-03-05 20:09:22 -05: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
de924daf47 Fix #4704: invalid image spec error from lsp-ui
Regression from a3f242d
2021-02-27 10:31:49 -05:00
Henrik Lissner
a3f242d4b6 tools/lsp: only enable sideline icons in 27.x+ 2021-02-25 13:59:43 -05:00
Henrik Lissner
e858e254b0 Bump :tools
editorconfig/editorconfig-emacs@f830b86 -> editorconfig/editorconfig-emacs@048c553
emacs-helm/helm-pass@ed5798f -> emacs-helm/helm-pass@4ce46f1
emacs-lsp/dap-mode@5450af5 -> emacs-lsp/dap-mode@aa15b9c
emacs-lsp/helm-lsp@fc09aa0 -> emacs-lsp/helm-lsp@e934fea
emacs-lsp/lsp-mode@3ca25e6 -> emacs-lsp/lsp-mode@c3cbadc
emacs-lsp/lsp-ui@732992a -> emacs-lsp/lsp-ui@0ac3e12
jacktasia/dumb-jump@ff9fc93 -> jacktasia/dumb-jump@f6a1165
joaotavora/eglot@398b81e -> joaotavora/eglot@a2d1fc9
magit/forge@8683b14 -> magit/forge@fa80a87
magit/magit@62dfe5a -> magit/magit@1c60edc
millejoh/emacs-ipython-notebook@069e54c -> millejoh/emacs-ipython-notebook@4ff76e5
nicolaisingh/saveplace-pdf-view@b037091 -> nicolaisingh/saveplace-pdf-view@54ed966
spotify/dockerfile-mode@58b7380 -> spotify/dockerfile-mode@ed1d04c
tkf/emacs-request@0183da8 -> tkf/emacs-request@accd430
tmalsburg/helm-bibtex@94807a3 -> tmalsburg/helm-bibtex@ca09076
zx2c4/password-store@f152064 -> zx2c4/password-store@918992c

Fix #4677
2021-02-25 13:59:43 -05:00
Henrik Lissner
cd083bc059 tools/lsp: fix +lsp-prompt-to-install-server == 'quiet
Wasn't suppressing output because inhibit-message is overridden in
lsp--message.
2021-02-25 12:40:07 -05:00
Henrik Lissner
c0f2da7057
Merge pull request #4471 from gagbo/fix/eglot-flycheck-freeze
Re-document flycheck-eglot compatibility layer
2021-02-25 12:26:56 -05:00
Henrik Lissner
7f6bcb8616 tools/lsp: allow +lsp-prompt-to-install-server = 'quiet 2021-02-24 18:06:30 -05:00
Henrik Lissner
a9da1fcdeb Bump :tools
DamienCassou/auth-password-store@aa7f171 -> DamienCassou/auth-password-store@468bba2
NicolasPetton/pass@a095d24 -> NicolasPetton/pass@5651da5
Silex/docker.el@3773112 -> Silex/docker.el@0ca910b
charignon/github-review@db72374 -> charignon/github-review@d0c8234
editorconfig/editorconfig-emacs@d73333c -> editorconfig/editorconfig-emacs@f830b86
emacs-lsp/dap-mode@c52c1a5 -> emacs-lsp/dap-mode@5450af5
emacs-lsp/lsp-mode@62cd1b2 -> emacs-lsp/lsp-mode@3ca25e6
emacs-straight/project@f743ca2 -> emacs-straight/project@2e7afbe
magit/forge@e340c2b -> magit/forge@8683b14
magit/magit@2145477 -> magit/magit@62dfe5a
millejoh/emacs-ipython-notebook@917f2a0 -> millejoh/emacs-ipython-notebook@069e54c
purcell/envrc@18caf51 -> purcell/envrc@a7c6ca8
rejeep/prodigy.el@6ae71f2 -> rejeep/prodigy.el@168f5ac
spotify/dockerfile-mode@6a56c1c -> spotify/dockerfile-mode@58b7380
tmalsburg/helm-bibtex@1bb81d7 -> tmalsburg/helm-bibtex@94807a3
tumashu/posframe@8097276 -> tumashu/posframe@3454a4c
2021-02-11 22:13:22 -05:00
Henrik Lissner
45b68e46ee Bump :tools lsp debugger
emacs-lsp/dap-mode@612388d -> emacs-lsp/dap-mode@c52c1a5
emacs-lsp/lsp-mode@dbfbe1a -> emacs-lsp/lsp-mode@62cd1b2
emacs-lsp/lsp-ui@94673cd -> emacs-lsp/lsp-ui@732992a
emacs-straight/project@a1997af -> emacs-straight/project@f743ca2
joaotavora/eglot@4c85df2 -> joaotavora/eglot@398b81e
tumashu/posframe@efd7ea4 -> tumashu/posframe@8097276

Fixes #4621
2021-02-06 04:51:11 -05:00
Henrik Lissner
95a603733a Add +lsp-prompt-to-install-server option
If nil, LSP will quietly fail if no LSP server is available instead of
pestering the user to install a server.
2021-02-05 21:53:06 -05:00
Gerry Agbobada
01f54d2950
Add comment for further maintenance 2021-01-19 18:52:11 +01:00
James Ravn
573d14c264
Include snippets in lsp completion
This gives completion of snippets along with normal LSP completion,
similar to how the old company-lsp backend worked.
2021-01-07 11:19:03 +00:00
Henrik Lissner
70e71f3f6d
lsp-headerline-breadcrumb-enable = nil 2021-01-07 01:41:58 -05:00
Henrik Lissner
6ef517353b
Bump :tools
NicolasPetton/pass@919d8e3 -> NicolasPetton/pass@a095d24
abo-abo/define-word@3af6825 -> abo-abo/define-word@6e4a427
editorconfig/editorconfig-emacs@da84471 -> editorconfig/editorconfig-emacs@d73333c
emacs-lsp/dap-mode@041db8e -> emacs-lsp/dap-mode@612388d
emacs-lsp/lsp-mode@61443f3 -> emacs-lsp/lsp-mode@dbfbe1a
emacs-lsp/lsp-ui@49bc513 -> emacs-lsp/lsp-ui@94673cd
emacs-straight/project@0003fe4 -> emacs-straight/project@a1997af
emacsorphanage/terraform-mode@63fafc6 -> emacsorphanage/terraform-mode@a9fa5bd
joaotavora/eglot@2172641 -> joaotavora/eglot@4c85df2
k1LoW/emacs-ansible@cf6b8f0 -> k1LoW/emacs-ansible@40af0d2
magit/forge@953764d -> magit/forge@e340c2b
magit/magit@acfe22a -> magit/magit@2145477
millejoh/emacs-ipython-notebook@a019ee3 -> millejoh/emacs-ipython-notebook@917f2a0
nicolaisingh/saveplace-pdf-view@88e07be -> nicolaisingh/saveplace-pdf-view@b037091
realgud/realgud@ff66001 -> realgud/realgud@f73c039
spotify/dockerfile-mode@d31f768 -> spotify/dockerfile-mode@6a56c1c
tmalsburg/helm-bibtex@8d84d8b -> tmalsburg/helm-bibtex@1bb81d7
tmalsburg/helm-bibtex@8d84d8b -> tmalsburg/helm-bibtex@1bb81d7
tmalsburg/helm-bibtex@8d84d8b -> tmalsburg/helm-bibtex@1bb81d7
tumashu/posframe@e1552c8 -> tumashu/posframe@ae8ac91
2021-01-05 01:54:04 -05:00