mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
core-projects: refactor multiple-pushes into one append+setq
This commit is contained in:
@ -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
|
||||||
(append '(("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"))
|
||||||
projectile-other-file-alist))
|
projectile-other-file-alist))
|
||||||
|
|
||||||
(defun doom*projectile-cache-current-file (orig-fun &rest args)
|
(defun doom*projectile-cache-current-file (orig-fun &rest args)
|
||||||
|
Reference in New Issue
Block a user