~aodag/dotfiles

30875a850d0efe3ce9ae2a252834facf09503190 — Atsushi Odagiri 5 months ago d45d460
add ignore watching files
1 files changed, 5 insertions(+), 0 deletions(-)

M config/emacs/init.el
M config/emacs/init.el => config/emacs/init.el +5 -0
@@ 242,6 242,11 @@
  :commands lsp
  :init
  (setq lsp-keymap-prefix "C-c l")
  :config
  (add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\.venv\\'")      
  (add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\.node_modules\\'")      
  (add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\.nox\\'")      
  (add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\.git\\'")      
  :hook
  (go-mode . lsp)
  (typescript-mode . lsp)