nit: add deprecation comments for projectile config

Ref: doomemacs/core#1
This commit is contained in:
Henrik Lissner 2024-08-09 20:42:33 -04:00
parent 511c8af365
commit d3124c4971
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
10 changed files with 10 additions and 1 deletions

View file

@ -209,7 +209,7 @@ orderless."
"C-x C-d" #'consult-dir "C-x C-d" #'consult-dir
"C-x C-j" #'consult-dir-jump-file)) "C-x C-j" #'consult-dir-jump-file))
:config :config
;; DEPRECATED: Remove when Doom core replaces projectile with project.el ;; DEPRECATED: Remove when projectile is replaced with project.el
(setq consult-dir-project-list-function #'consult-dir-projectile-dirs) (setq consult-dir-project-list-function #'consult-dir-projectile-dirs)
(when (modulep! :tools docker) (when (modulep! :tools docker)

View file

@ -303,6 +303,7 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e
:defer t :defer t
:init :init
(defvar ccls-sem-highlight-method 'font-lock) (defvar ccls-sem-highlight-method 'font-lock)
;; DEPRECATED: Remove when projectile is replaced with project.el
(after! projectile (after! projectile
(add-to-list 'projectile-globally-ignored-directories "^.ccls-cache$") (add-to-list 'projectile-globally-ignored-directories "^.ccls-cache$")
(add-to-list 'projectile-project-root-files-bottom-up ".ccls-root") (add-to-list 'projectile-project-root-files-bottom-up ".ccls-root")

View file

@ -1,5 +1,6 @@
;;; lang/elixir/config.el -*- lexical-binding: t; -*- ;;; lang/elixir/config.el -*- lexical-binding: t; -*-
;; DEPRECATED: Remove when projectile is replaced with project.el
(after! projectile (after! projectile
(add-to-list 'projectile-project-root-files "mix.exs")) (add-to-list 'projectile-project-root-files "mix.exs"))

View file

@ -1,5 +1,6 @@
;;; lang/gdscript/config.el -*- lexical-binding: t; -*- ;;; lang/gdscript/config.el -*- lexical-binding: t; -*-
;; DEPRECATED: Remove when projectile is replaced with project.el
(after! projectile (after! projectile
(add-to-list 'projectile-project-root-files "project.godot")) (add-to-list 'projectile-project-root-files "project.godot"))

View file

@ -1,5 +1,6 @@
;;; lang/haskell/config.el -*- lexical-binding: t; -*- ;;; lang/haskell/config.el -*- lexical-binding: t; -*-
;; DEPRECATED: Remove when projectile is replaced with project.el
(after! projectile (after! projectile
(add-to-list 'projectile-project-root-files "stack.yaml")) (add-to-list 'projectile-project-root-files "stack.yaml"))

View file

@ -12,6 +12,7 @@
(defvar +php-run-tests-in-docker nil (defvar +php-run-tests-in-docker nil
"Whether or not to run tests in a docker environment") "Whether or not to run tests in a docker environment")
;; DEPRECATED: Remove when projectile is replaced with project.el
(after! projectile (after! projectile
(add-to-list 'projectile-project-root-files "composer.json")) (add-to-list 'projectile-project-root-files "composer.json"))

View file

@ -1,5 +1,6 @@
;;; lang/racket/config.el -*- lexical-binding: t; -*- ;;; lang/racket/config.el -*- lexical-binding: t; -*-
;; DEPRECATED: Remove when projectile is replaced with project.el
(after! projectile (after! projectile
(add-to-list 'projectile-project-root-files "info.rkt")) (add-to-list 'projectile-project-root-files "info.rkt"))

View file

@ -1,5 +1,6 @@
;;; lang/ruby/config.el -*- lexical-binding: t; -*- ;;; lang/ruby/config.el -*- lexical-binding: t; -*-
;; DEPRECATED: Remove when projectile is replaced with project.el
(after! projectile (after! projectile
(add-to-list 'projectile-project-root-files "Gemfile")) (add-to-list 'projectile-project-root-files "Gemfile"))

View file

@ -1,5 +1,6 @@
;;; lang/rust/config.el -*- lexical-binding: t; -*- ;;; lang/rust/config.el -*- lexical-binding: t; -*-
;; DEPRECATED: Remove when projectile is replaced with project.el
(after! projectile (after! projectile
(add-to-list 'projectile-project-root-files "Cargo.toml")) (add-to-list 'projectile-project-root-files "Cargo.toml"))

View file

@ -1,5 +1,6 @@
;;; lang/zig/config.el -*- lexical-binding: t; -*- ;;; lang/zig/config.el -*- lexical-binding: t; -*-
;; DEPRECATED: Remove when projectile is replaced with project.el
(after! projectile (after! projectile
(add-to-list 'projectile-project-root-files "build.zig")) (add-to-list 'projectile-project-root-files "build.zig"))