From 4b91a380ac03a646d41fcd6f6cc3e2aa9b616210 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sat, 17 Jul 2021 07:00:20 +0000
Subject: [PATCH] Fixed typo

---
 config.org |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/config.org b/config.org
index e1c2237..0f70413 100644
--- a/config.org
+++ b/config.org
@@ -799,7 +799,7 @@
     (setq company-minimum-prefix-length 3))
 #+END_SRC
 
-** COMMENT LSP Mode
+** LSP Mode
 Use LSP for completion suggestions.
 Causes too much memory usage, need to debug.
 #+BEGIN_SRC emacs-lisp
@@ -818,9 +818,10 @@
     (setq lsp-keymap-prefix "C-c l")
     :commands lsp
     :config
-    (add-hook lsp-mode-hook lsp-enable-which-key-integration)
+    (add-hook 'lsp-mode-hook 'lsp-enable-which-key-integration)
     (setq read-process-output-max (* 1024 1024))
     (setq lsp-completion-provider :capf)
+    (setq lsp-keep-workspace-alive 'nil)
     (add-to-list 'exec-path "~/.cargo/bin"))
 
   (use-package lsp-ui
@@ -987,7 +988,7 @@
                                      company-dabbrev-code
                                      company-irony)))
 #+END_SRC
-**** Clang-format
+**** COMMENT Clang-format
 Automatically format buffer on save.
 #+BEGIN_SRC emacs-lisp
   (when (file-exists-p "/usr/share/clang/clang-format.el")

--
Gitblit v1.9.3