1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-25 04:30:54 -05:00

28 Oct 2022 10:27:35

This commit is contained in:
Jack Foltz 2022-10-28 10:27:35 -04:00
parent 0a9b273dcc
commit ade35c7240
No known key found for this signature in database
GPG Key ID: 79C872C088D157D1
2 changed files with 3 additions and 1 deletions

2
.doom.d/.gitignore vendored Normal file
View File

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

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)