refactor: move LSP config to mode section
This commit is contained in:
parent
a330856332
commit
283724a55b
24
config.org
24
config.org
|
@ -2123,18 +2123,6 @@ Magit already looks great, but it could use some proper syntax highlighting!
|
||||||
:hook (magit-mode . magit-delta-mode))
|
:hook (magit-mode . magit-delta-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Language Servers
|
|
||||||
|
|
||||||
#+call: confpkg("Pkg: lsp")
|
|
||||||
|
|
||||||
Some more convenient leader key bindings would be nice to prevent having to trawl through the =lsp-command-map=.
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(map! :leader
|
|
||||||
:desc "Select LSP code lens"
|
|
||||||
"c L" #'lsp-avy-lens)
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** Marginalia
|
** Marginalia
|
||||||
|
|
||||||
#+call: confpkg("Pkg: marginalia")
|
#+call: confpkg("Pkg: marginalia")
|
||||||
|
@ -4260,6 +4248,18 @@ The =lsp-java= package provides LSP support using the standard Java language ser
|
||||||
"-data" (f-join root "java-workspace"))))
|
"-data" (f-join root "java-workspace"))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Language Servers
|
||||||
|
|
||||||
|
#+call: confpkg("Mode: LSP")
|
||||||
|
|
||||||
|
Some more convenient leader key bindings would be nice to prevent having to trawl through the =lsp-command-map=.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(map! :leader
|
||||||
|
:desc "Select LSP code lens"
|
||||||
|
"c L" #'lsp-avy-lens)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Yuck
|
** Yuck
|
||||||
|
|
||||||
#+call: confpkg("Mode: Yuck")
|
#+call: confpkg("Mode: Yuck")
|
||||||
|
|
Loading…
Reference in a new issue