From a0f9cbf6951af8362d158285e53e71aeaadde69c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 1 Mar 2022 23:59:22 -0800 Subject: [PATCH] [oni-projectile] Remove dependency on ivy --- oni-projectile.el | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/oni-projectile.el b/oni-projectile.el index ec10217..1481aab 100644 --- a/oni-projectile.el +++ b/oni-projectile.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.1123.003113 -;; Package-Requires: (projectile ivy oni-data-dir) +;; Version: 2022.0301.235907 +;; Package-Requires: (projectile oni-data-dir) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -26,7 +26,6 @@ ;;; Code: -(require 'ivy) (require 'oni-data-dir) (require 'projectile) @@ -37,17 +36,13 @@ (setq projectile-cache-file (oni-data-dir-locate "projectile.cache")) -(setq projectile-completion-system 'ivy) +(setq projectile-completion-system 'auto) (add-to-list 'projectile-project-root-files "yarn.lock") (add-to-list 'projectile-project-root-files "fabfile.py") (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map) -(ivy-add-actions - 'projectile-switch-project - '(("g" magit-status "git status"))) - (when (eq system-type 'windows-nt) (setq projectile-enable-caching nil) (setq projectile-generic-command "\"C:\\msys64\\usr\\bin\\find.exe\" . -type d \"(\" -path \"*/node_modules\" -o -path \"*/upload-test\" -o -path \"*/dlls\" -o -path \"*/apps/*/img\" -o -path \"*/apps/*/video\" -o -path \"*/apps/*/font\" -o -path \"*/apps/*/content\" -o -path \"*/apps/*/favicons\" -o -path \"*/apps/*/pages.*\" -o -path \"*/.intl\" \")\" -prune -o -type f -print0")