Add lsp-ui parameters

main
Sergio Alvariño 3 years ago
parent 834d1a8c72
commit 8a201d5bfa

@ -25,7 +25,7 @@ This file:
It won't update packages. See auto-package-update for keeping all It won't update packages. See auto-package-update for keeping all
packages up to date packages up to date
- *:init* keyword to execute code *before* a package is loaded. It - *:init* keyword to execute code *before* a package is loaded. It
accepts one or more foorms, up to the next keyword accepts one or more forms, up to the next keyword
- *:config* can be used to execute code *after* a package is loaded. - *:config* can be used to execute code *after* a package is loaded.
In cases where loading is done lazily (see more about autoloading In cases where loading is done lazily (see more about autoloading
below), this execution is deferred until after the autoload below), this execution is deferred until after the autoload
@ -664,6 +664,8 @@ LSP mode, allows the use of Language Server Protocol for programming.
;; (company-lsp-enable-recompletion t) ;; (company-lsp-enable-recompletion t)
;; (company-lsp-enable-snippet t) ;; (company-lsp-enable-snippet t)
;; (lsp-eldoc-render-all nil)
;; :hook ;; :hook
;; ((python-mode . lsp-deferred) ;; ((python-mode . lsp-deferred)
;; (lsp-mode . lsp-enable-which-key-integration) ;; (lsp-mode . lsp-enable-which-key-integration)
@ -679,7 +681,7 @@ LSP mode, allows the use of Language Server Protocol for programming.
#+end_src #+end_src
** lsp-ui ** lsp-ui
- [[https://emacs-lsp.github.io/lsp-ui/][lsp-ui]] - You have to see the [[https://emacs-lsp.github.io/lsp-ui/][lsp-ui doc]]
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package lsp-ui (use-package lsp-ui
@ -687,34 +689,34 @@ LSP mode, allows the use of Language Server Protocol for programming.
(lsp-ui-doc-delay 0.75) (lsp-ui-doc-delay 0.75)
(lsp-ui-doc-max-height 200) (lsp-ui-doc-max-height 200)
;; (lsp-ui-doc-enable t) (lsp-ui-doc-enable t)
;; (lsp-ui-doc-header t) (lsp-ui-doc-header t)
;; (lsp-ui-doc-include-signature t) (lsp-ui-doc-include-signature t)
;; (lsp-ui-doc-max-height 30) (lsp-ui-doc-max-height 30)
;; (lsp-ui-doc-max-width 120) (lsp-ui-doc-max-width 120)
;; (lsp-ui-doc-position (quote at-point)) (lsp-ui-doc-position (quote at-point))
;; (lsp-ui-doc-use-childframe t) (lsp-ui-doc-use-childframe t)
;; ;;
;; ;; If this is true then you can't see the docs in terminal ;; ;; If this is true then you can't see the docs in terminal
;; (lsp-ui-doc-use-webkit nil) ;; (lsp-ui-doc-use-webkit nil)
;; (lsp-ui-flycheck-enable t) (lsp-ui-flycheck-enable t)
;; ;;
;; (lsp-ui-imenu-enable t) ;; (lsp-ui-imenu-enable t)
;; (lsp-ui-imenu-kind-position (quote top)) ;; (lsp-ui-imenu-kind-position (quote top))
;; (lsp-ui-peek-enable t) (lsp-ui-peek-enable t)
;; (lsp-ui-peek-fontify 'on-demand) ;; never, on-demand, or always
;; (lsp-ui-peek-fontify 'on-demand) ;; never, on-demand, or always (lsp-ui-peek-list-width 50)
;; (lsp-ui-peek-list-width 50) (lsp-ui-peek-peek-height 20)
;; (lsp-ui-peek-peek-height 20)
;; (lsp-ui-sideline-code-actions-prefix "" t) (lsp-ui-sideline-code-actions-prefix "" t)
;; ;;
;; ;inline right flush docs ;; ;inline right flush docs
;; (lsp-ui-sideline-enable t) (lsp-ui-sideline-enable t)
;; (lsp-ui-sideline-ignore-duplicate t) (lsp-ui-sideline-ignore-duplicate t)
;; (lsp-ui-sideline-show-code-actions t) (lsp-ui-sideline-show-code-actions t)
;; (lsp-ui-sideline-show-diagnostics t) (lsp-ui-sideline-show-diagnostics t)
;; (lsp-ui-sideline-show-hover t) (lsp-ui-sideline-show-hover t)
;; (lsp-ui-sideline-show-symbol t) (lsp-ui-sideline-show-symbol t)
:after lsp-mode) :after lsp-mode)
#+end_src #+end_src

Loading…
Cancel
Save