Remove doom-project-root-files

This commit is contained in:
Henrik Lissner 2016-06-17 20:05:20 -04:00
parent 4093b93c80
commit 4f1bda5f71
2 changed files with 6 additions and 10 deletions

View file

@ -133,8 +133,12 @@
projectile-cache-file (concat doom-temp-dir "/projectile.cache")
projectile-known-projects-file (concat doom-temp-dir "/projectile.projects")
projectile-indexing-method 'alien
projectile-project-root-files doom-project-root-files
projectile-file-exists-remote-cache-expire nil)
projectile-file-exists-remote-cache-expire nil
projectile-project-root-files
'(".git" ".hg" ".svn" "rebar.config" "project.clj" "SConstruct" "pom.xml"
"build.sbt" "build.gradle" "Gemfile" "requirements.txt" "package.json"
"gulpfile.js" "Gruntfile.js" "bower.json" "composer.json" "Cargo.toml"
"mix.exs" "tsconfig.json"))
;; Don't cache ignored files!
(defun doom*projectile-cache-current-file (orig-fun &rest args)

View file

@ -53,14 +53,6 @@ killed by `doom/kill-unreal-buffers', or after `doom/kill-real-buffer').")
before killing processes. If there are no buffers with matching major-modes, it
gets killed.")
(defvar doom-project-root-files
'(".git" ".hg" ".svn" "rebar.config" "project.clj" "SConstruct" "pom.xml"
"build.sbt" "build.gradle" "Gemfile" "requirements.txt" "package.json"
"gulpfile.js" "Gruntfile.js" "bower.json" "composer.json" "Cargo.toml"
"mix.exs" "tsconfig.json")
"A list of files that count as 'project files', which determine whether a
folder is the root of a project or not.")
(defvar doom-unicode-font
(font-spec :family "DejaVu Sans Mono" :size 13)
"Font to fall back to for unicode glyphs.")