From f52ed235f49fbf020455e52b32a2b0f0366cfe0c Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 10 Feb 2021 01:31:24 +0100 Subject: [PATCH] Ignore development databases folders in LSP --- config.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config.el b/config.el index ed1e1a4..3df11ab 100644 --- a/config.el +++ b/config.el @@ -14,8 +14,8 @@ (concat "~/.cache/emacs")) ;; Set Magit repositories (setq magit-repository-directories '(("~/Projects" . 3) - ("~/.dotfiles" . 0) - ("~/.doom.d" . 0))) + ("~/.dotfiles" . 0) + ("~/.doom.d" . 0))) ;; Load org configuration (after! org (load! "+org")) ;; Enter writeroom and disable completion and line numbers in Markdown @@ -50,3 +50,7 @@ (setq-hook! 'nix-mode-hook company-idle-delay nil) ;; Trigger flycheck after 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\\'"))