Browse Source

Improve lsp-mode performance

main
parent
commit
a162644568
  1. 9
      README.org
  2. 9
      init.el

9
README.org

@ -463,7 +463,11 @@ https://emacs-lsp.github.io/lsp-mode/
#+begin_src emacs-lisp
(use-package lsp-mode
:commands lsp)
:commands lsp
:config
(setq gc-cons-threshold 100000000
lsp-completion-provider 'company-capf
lsp-idle-delay dotfiles/idle))
#+end_src
https://emacs-lsp.github.io/lsp-ui/
@ -490,8 +494,7 @@ http://company-mode.github.io/
#+begin_src emacs-lisp
(use-package company-lsp
:commands company-lsp
:custom (company-minimum-prefix-length 1)
(company-idle-delay dotfiles/idle))
:custom (company-minimum-prefix-length 1))
#+end_src
** Python

9
init.el

@ -185,7 +185,11 @@
:hook (org-mode . org-superstar-mode))
(use-package lsp-mode
:commands lsp)
:commands lsp
:config
(setq gc-cons-threshold 100000000
lsp-completion-provider 'company-capf
lsp-idle-delay dotfiles/idle))
(use-package lsp-ui
:commands lsp-ui-mode
@ -195,8 +199,7 @@
(use-package company-lsp
:commands company-lsp
:custom (company-minimum-prefix-length 1)
(company-idle-delay dotfiles/idle))
:custom (company-minimum-prefix-length 1))
(use-package python-mode
:hook (python-mode . lsp)

Loading…
Cancel
Save