From 961e9e9938f68e468631a8c039d99fde597c5b28 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 23 Jul 2019 16:15:46 +0200 Subject: Emacs: ignore (p)npm lockfiles in projectile --- emacs/.emacs.d/main.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index e27da51..2347ed4 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -277,10 +277,10 @@ With two prefix arguments, write out the day and month name." :custom ((projectile-mode +1) (projectile-completion-system 'ivy)) :config (progn + (add-to-list 'projectile-globally-ignored-files "package-lock.json") + (add-to-list 'projectile-globally-ignored-files "pnpm-lock.yaml") (with-eval-after-load 'evil-ex - (evil-ex-define-cmd "prg" #'projectile-ripgrep) - - ))) + (evil-ex-define-cmd "prg" #'projectile-ripgrep)))) (use-package counsel-projectile :commands (counsel-projectile-switch-project -- cgit 1.4.1