Ignore development databases folders in LSP
This commit is contained in:
parent
86b2fd2169
commit
f52ed235f4
|
@ -14,8 +14,8 @@
|
||||||
(concat "~/.cache/emacs"))
|
(concat "~/.cache/emacs"))
|
||||||
;; Set Magit repositories
|
;; Set Magit repositories
|
||||||
(setq magit-repository-directories '(("~/Projects" . 3)
|
(setq magit-repository-directories '(("~/Projects" . 3)
|
||||||
("~/.dotfiles" . 0)
|
("~/.dotfiles" . 0)
|
||||||
("~/.doom.d" . 0)))
|
("~/.doom.d" . 0)))
|
||||||
;; Load org configuration
|
;; Load org configuration
|
||||||
(after! org (load! "+org"))
|
(after! org (load! "+org"))
|
||||||
;; Enter writeroom and disable completion and line numbers in Markdown
|
;; Enter writeroom and disable completion and line numbers in Markdown
|
||||||
|
@ -50,3 +50,7 @@
|
||||||
(setq-hook! 'nix-mode-hook company-idle-delay nil)
|
(setq-hook! 'nix-mode-hook company-idle-delay nil)
|
||||||
;; Trigger flycheck after save
|
;; Trigger flycheck after save
|
||||||
(setq flycheck-check-syntax-automatically '(save))
|
(setq flycheck-check-syntax-automatically '(save))
|
||||||
|
;; Ignore development databases folders
|
||||||
|
(after! lsp-mode
|
||||||
|
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\.mysql\\'")
|
||||||
|
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\.pgdata\\'"))
|
||||||
|
|
Loading…
Reference in New Issue