From ade35c72408d4361eaf008b9543505dfe51b6889 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Fri, 28 Oct 2022 10:27:35 -0400 Subject: [PATCH] 28 Oct 2022 10:27:35 --- .doom.d/.gitignore | 2 ++ .doom.d/config.org | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .doom.d/.gitignore diff --git a/.doom.d/.gitignore b/.doom.d/.gitignore new file mode 100644 index 0000000..84152d1 --- /dev/null +++ b/.doom.d/.gitignore @@ -0,0 +1,2 @@ +config.el +env.el diff --git a/.doom.d/config.org b/.doom.d/config.org index 924cdfa..23a67b4 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -1246,7 +1246,7 @@ Setup: run =M-x dap-go-setup= (advice-add 'lsp--find-root-interactively :before-until #'my/lsp-find-root) (defun my/lsp-buffer-killed () - (when lsp-mode + (when (bound-and-true-p lsp-mode) (let ((root (lsp-find-session-folder (lsp-session) ($cwd)))) ;; If we're in an ignored project, remove it from the LSP session (when (my/project-ignored-p root)