mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(lsp): tweak configuration for lsp-mode and lsp-ui
Overall enable more features, like lsp-ui's sideline.
This commit is contained in:
@@ -19,15 +19,19 @@
|
||||
:custom
|
||||
(lsp-ui-doc-alignment 'window)
|
||||
(lsp-ui-doc-delay 0.2)
|
||||
(lsp-ui-doc-show-with-cursor t)
|
||||
(lsp-ui-doc-show-with-mouse t)
|
||||
(lsp-ui-doc-enable nil)
|
||||
(lsp-ui-doc-enable t)
|
||||
(lsp-ui-doc-header nil)
|
||||
(lsp-ui-doc-include-signature nil)
|
||||
(lsp-ui-doc-include-signature t)
|
||||
(lsp-ui-doc-max-height 45)
|
||||
(lsp-ui-doc-position 'at-point)
|
||||
(lsp-ui-doc-show-with-cursor nil)
|
||||
(lsp-ui-doc-show-with-mouse t)
|
||||
(lsp-ui-doc-use-webkit nil)
|
||||
(lsp-ui-sideline-enable nil))
|
||||
(lsp-ui-peek-always-show nil)
|
||||
(lsp-ui-sideline-enable t)
|
||||
(lsp-ui-sideline-show-code-actions t)
|
||||
(lsp-ui-sideline-show-diagnostics t)
|
||||
(lsp-ui-sideline-show-hover t))
|
||||
|
||||
(provide 'siren-lsp-ui)
|
||||
;;; siren-lsp-ui.el ends here
|
||||
|
||||
@@ -19,13 +19,21 @@
|
||||
(lsp-mode . siren-lsp-mode-setup)
|
||||
|
||||
:custom
|
||||
(lsp-completion-provider :capf)
|
||||
(lsp-completion-show-detail t)
|
||||
(lsp-completion-show-kind t)
|
||||
(lsp-eldoc-enable-hover t)
|
||||
(lsp-eldoc-render-all nil)
|
||||
(lsp-enable-xref t)
|
||||
(lsp-enable-file-watchers t)
|
||||
(lsp-enable-imenu t)
|
||||
(lsp-lens-enable t)
|
||||
(lsp-enable-symbol-highlighting t)
|
||||
(lsp-enable-xref t)
|
||||
(lsp-headerline-breadcrumb-enable t)
|
||||
(lsp-keymap-prefix "M-;")
|
||||
(lsp-completion-provider :capf)
|
||||
(lsp-lens-enable t)
|
||||
(lsp-modeline-diagnostics-enable t)
|
||||
(lsp-signature-auto-activate t)
|
||||
(lsp-signature-render-documentation t)
|
||||
|
||||
;; Set read process output to 1MB, instead of default 4KB. As many language
|
||||
;; servers produce output ranging from 800KB to 3MB, leaving it at 4KB affects
|
||||
|
||||
Reference in New Issue
Block a user