Skip to content

Commit 9846ba5

Browse files
committed
Remove company-lsp related section in performance optimization
- company-lsp no longer works with us, no need to force :capf
1 parent 9cce97c commit 9846ba5

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

docs/page/performance.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ Benchmarks show that Emacs 27 is `~15 times` faster than Emacs when using Elisp
2626
(setq read-process-output-max (* 1024 1024)) ;; 1mb
2727
```
2828

29-
- Make sure that you are using `company-capf` as the completion provider with:
30-
31-
``` elisp
32-
(setq lsp-completion-provider :capf)
33-
```
34-
35-
*Note:* - to verify which `company` backend implementation you are using do `M-x company-diag` when performing auto-completion.
36-
3729
- Optional: Disable `lsp-ui`. Normally, `lsp-ui` is very fast but in some systems (especially when using `Windows`) `lsp-ui` overlays and popups might slow down emacs.
3830
- Optional: fine-tune `lsp-idle-delay`. This variable determines how often lsp-mode will refresh the highlights, lenses, links, etc while you type.
3931

@@ -56,7 +48,7 @@ Also you can disable the file watch feature with:
5648

5749
## Check if logging is switched off.
5850

59-
Make sure `lsp-log-io` is `nil`. You might have forgotten it after a debugging session, for example. It can cause a great performance hit.
51+
Make sure `lsp-log-io` is `nil`. You might have forgotten it after a debugging session, for example. It can cause a great performance hit.
6052

6153
```elisp
6254
(setq lsp-log-io nil) ; if set to true can cause a performance hit

0 commit comments

Comments
 (0)