diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2024-07-09 13:52:22 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-07-21 09:42:13 +0200 |
commit | f999a240a19257f6cfbe4e4928cbface1263a266 (patch) | |
tree | 1596f4fb775da55d3d40c5e51ea84b27c4c18453 | |
parent | cce45cb3d86370a5c351900e695401ce0b4cf106 (diff) |
gnu: emacs-lsp-mode: Enable plists.
* gnu/packages/emacs-xyz.scm (emacs-lsp-mode)[arguments]<#:phases>
[enable-plists]: New phase.
Change-Id: I5088954b683b23ab51bd5d6adc09dcc9a1c85ec1
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index bb189848616..34deaa17876 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -31245,6 +31245,14 @@ the standard @code{Dockerfile} file format.") (for-each (lambda (f) (install-file f ".")) (find-files "clients/" "\\.el$")))) + (add-after 'unpack 'enable-plists + (lambda _ + (substitute* "lsp-protocol.el" + ;; This is faster, and it's officially recommended, + ;; and it's required by emacs-lsp-booster. + ;; See also: + ;; <https://emacs-lsp.github.io/lsp-mode/page/performance/>. + (("\\(getenv \"LSP_USE_PLISTS\"\\)") "t")))) (add-before 'move-clients-libraries 'fix-patch-el-files ;; /bin/ksh is only used on macOS, which we don't support, so we ;; don't want to add it as input. |