summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-04-29 15:06:40 -0400
committermattkae <mattkae@protonmail.com>2023-04-29 15:06:40 -0400
commitde90342ba536efc697a6a9ce7a96a42cfceea768 (patch)
tree46b1c1a2a0a98a211178027ca295152388e3347b
parent5de53ecf17b1d14d4862e63427717a27aac5dafe (diff)
Globally ignoring typical build directories and package locks
-rw-r--r--lisp/general.el19
1 files changed, 4 insertions, 15 deletions
diff --git a/lisp/general.el b/lisp/general.el
index a87584b..a48cf7c 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -110,7 +110,11 @@
(setq projectile-enable-caching t)
(add-to-list 'projectile-globally-ignored-directories "node_modules")
(add-to-list 'projectile-globally-ignored-directories "elpa")
+ (add-to-list 'projectile-globally-ignored-directories "build")
+ (add-to-list 'projectile-globally-ignored-directories "dist")
(add-to-list 'projectile-project-root-files "package.json")
+ (add-to-list 'projectile-globally-ignored-files "package-lock.json")
+
)
(use-package helm-projectile
@@ -267,21 +271,6 @@
(set-face-underline 'eglot-highlight-symbol-face t)
-;; (use-package tree-sitter
-;; :ensure t
-;; :defer t
-;; :config
-;; ;; use treesitter when possible
-;; (global-tree-sitter-mode)
-;; ;; overwrite the default syntax-highlighting (from major modes)
-;; (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode)
-;; :hook
-;; (prog-mode . tree-sitter-mode))
-
-;; (use-package tree-sitter-langs
-;; :ensure t
-;; :defer t)
-
;; Vterm
(defun my-vterm-mode-set-colors()