all repos — nixfiles @ 961e9e9938f68e468631a8c039d99fde597c5b28

System and user configuration, managed by nix and home-manager

Emacs: ignore (p)npm lockfiles in projectile
Alan Pearce alan@alanpearce.eu
Tue, 23 Jul 2019 16:15:46 +0200
commit

961e9e9938f68e468631a8c039d99fde597c5b28

parent

40c6e7fc68994b19979a377f5b2a3c45f5c1b621

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -277,10 +277,10 @@ :defines projectile-command-map   :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