From 83addc8180a5c48d4483202639e73f296732d65f Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Tue, 27 Apr 2021 07:04:09 +0000
Subject: [PATCH] Reenabled LSP, quit of workspace exit. Disable clang-format as need to remove before save hook for otheer buffers

---
 config.org |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/config.org b/config.org
index e1c2237..0a78944 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
@@ -821,6 +821,7 @@
     (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