Reduce list of root files projectile searches for

And define them on a per-module basis. This reduces the number of file
checks it performs, particularly for non-project files.

Might help #1317
This commit is contained in:
Henrik Lissner 2019-10-19 15:25:29 -04:00
parent e1edbcb3d9
commit 9b25582be1
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
12 changed files with 82 additions and 1 deletions

View file

@ -1,5 +1,12 @@
;;; lang/elixir/config.el -*- lexical-binding: t; -*-
(after! projectile
(add-to-list 'projectile-project-root-files "mix.exs"))
;;
;;; Packages
(use-package! elixir-mode
:defer t
:init