You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/page/performance.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,15 @@ Again the emacs default is too low 4k considering that the some of the language
35
35
### Use `plists` for deserialization.
36
36
`lsp-mode` can be compiled in 2 modes `plist` and `hash-table` based `lsp-use-plists` flag. `plist`s provide better performance in deserialization and also put less presure than `hash-table`s. To switch to `plist` you have to perform 2 steps:
37
37
38
-
1. Configure the following env variable. Make sure that `Emacs` can see that variable (best way to do that is to start`Emacs` from the shell, not from the icon).
38
+
1. Configure the following env variable. Make sure that `Emacs` can see that variable. For example, this can be done by starting`Emacs` from the shell.
39
39
```bash
40
40
export LSP_USE_PLISTS=true
41
41
```
42
-
2. Delete `lsp-mode` related packages.
42
+
or by setting it in `early-init.el`:
43
+
```elisp
44
+
(setenv "LSP_USE_PLISTS" "true")
45
+
```
46
+
2. Delete `lsp-mode` related packages. This can be done with `package-delete`.
43
47
3. Make sure that `lsp-use-plists` is non-nil.
44
48
4. Restart `Emacs` and install again `lsp-mode` related packages.
0 commit comments