core-projects: refactor projectile var init
This commit is contained in:
parent
189e401197
commit
560548db33
1 changed files with 10 additions and 6 deletions
|
@ -18,12 +18,16 @@
|
||||||
;; a more generic project root file
|
;; a more generic project root file
|
||||||
(push ".project" projectile-project-root-files-bottom-up)
|
(push ".project" projectile-project-root-files-bottom-up)
|
||||||
|
|
||||||
(nconc projectile-globally-ignored-directories (list (abbreviate-file-name doom-local-dir) ".sync"))
|
(setq projectile-globally-ignored-directories
|
||||||
(nconc projectile-other-file-alist '(("css" . ("scss" "sass" "less" "style"))
|
(append projectile-globally-ignored-directories
|
||||||
("scss" . ("css"))
|
(list (abbreviate-file-name doom-local-dir) ".sync"))
|
||||||
("sass" . ("css"))
|
projectile-other-file-alist
|
||||||
("less" . ("css"))
|
(append projectile-other-file-alist
|
||||||
("styl" . ("css"))))
|
'(("css" . ("scss" "sass" "less" "styl"))
|
||||||
|
("scss" . ("css"))
|
||||||
|
("sass" . ("css"))
|
||||||
|
("less" . ("css"))
|
||||||
|
("styl" . ("css")))))
|
||||||
|
|
||||||
;; Projectile root-searching functions can cause an infinite loop on TRAMP
|
;; Projectile root-searching functions can cause an infinite loop on TRAMP
|
||||||
;; connections, so disable them.
|
;; connections, so disable them.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue