Browse Source

28 Oct 2022 10:27:35

main
Jack Foltz 1 year ago
parent
commit
ade35c7240
No known key found for this signature in database GPG Key ID: 79C872C088D157D1
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      .doom.d/.gitignore
  2. +1
    -1
      .doom.d/config.org

+ 2
- 0
.doom.d/.gitignore View File

@@ -0,0 +1,2 @@
config.el
env.el

+ 1
- 1
.doom.d/config.org View File

@@ -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)


Loading…
Cancel
Save