mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-22 03:54:16 -05:00
28 Oct 2022 10:27:35
This commit is contained in:
parent
0a9b273dcc
commit
ade35c7240
2
.doom.d/.gitignore
vendored
Normal file
2
.doom.d/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
config.el
|
||||||
|
env.el
|
@ -1246,7 +1246,7 @@ Setup: run =M-x dap-go-setup=
|
|||||||
(advice-add 'lsp--find-root-interactively :before-until #'my/lsp-find-root)
|
(advice-add 'lsp--find-root-interactively :before-until #'my/lsp-find-root)
|
||||||
|
|
||||||
(defun my/lsp-buffer-killed ()
|
(defun my/lsp-buffer-killed ()
|
||||||
(when lsp-mode
|
(when (bound-and-true-p lsp-mode)
|
||||||
(let ((root (lsp-find-session-folder (lsp-session) ($cwd))))
|
(let ((root (lsp-find-session-folder (lsp-session) ($cwd))))
|
||||||
;; If we're in an ignored project, remove it from the LSP session
|
;; If we're in an ignored project, remove it from the LSP session
|
||||||
(when (my/project-ignored-p root)
|
(when (my/project-ignored-p root)
|
||||||
|
Loading…
Reference in New Issue
Block a user