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
|
:config
|
||||||
(projectile-mode +1)
|
(projectile-mode +1)
|
||||||
|
|
||||||
(mapc (lambda (r) (push r projectile-other-file-alist))
|
(setq projectile-other-file-alist
|
||||||
'(("less" "css")
|
(append '(("less" "css")
|
||||||
("styl" "css")
|
("styl" "css")
|
||||||
("sass" "css")
|
("sass" "css")
|
||||||
("scss" "css")
|
("scss" "css")
|
||||||
("css" "scss" "sass" "less" "styl")
|
("css" "scss" "sass" "less" "styl")
|
||||||
("jade" "html")
|
("jade" "html")
|
||||||
("pug" "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)
|
(defun doom*projectile-cache-current-file (orig-fun &rest args)
|
||||||
"Don't cache ignored files."
|
"Don't cache ignored files."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue