core-projects: refactor multiple-pushes into one append+setq
This commit is contained in:
parent
f4e0734dcf
commit
fed4835bb6
1 changed files with 10 additions and 9 deletions
|
@ -21,15 +21,16 @@
|
|||
:config
|
||||
(projectile-mode +1)
|
||||
|
||||
(mapc (lambda (r) (push r projectile-other-file-alist))
|
||||
'(("less" "css")
|
||||
(setq projectile-other-file-alist
|
||||
(append '(("less" "css")
|
||||
("styl" "css")
|
||||
("sass" "css")
|
||||
("scss" "css")
|
||||
("css" "scss" "sass" "less" "styl")
|
||||
("jade" "html")
|
||||
("pug" "html")
|
||||
("html" "jade" "pug" "jsx" "tsx")))
|
||||
("html" "jade" "pug" "jsx" "tsx"))
|
||||
projectile-other-file-alist))
|
||||
|
||||
(defun doom*projectile-cache-current-file (orig-fun &rest args)
|
||||
"Don't cache ignored files."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue