summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-07-23 16:15:46 +0200
committerAlan Pearce2019-07-23 16:15:46 +0200
commit961e9e9938f68e468631a8c039d99fde597c5b28 (patch)
treedc084c2959ee2dba8c6386e4dac5723abdcbe74e /emacs
parent40c6e7fc68994b19979a377f5b2a3c45f5c1b621 (diff)
downloadnixfiles-961e9e9938f68e468631a8c039d99fde597c5b28.tar.lz
nixfiles-961e9e9938f68e468631a8c039d99fde597c5b28.tar.zst
nixfiles-961e9e9938f68e468631a8c039d99fde597c5b28.zip
Emacs: ignore (p)npm lockfiles in projectile
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index e27da514..2347ed44 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