Move to eask
All checks were successful
/ Test config on 20 (push) Successful in 27s

This commit is contained in:
Maciej 2024-08-15 18:34:46 +03:00
parent 40d1e1d4bb
commit 1a6b8836a3
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
9 changed files with 63 additions and 33 deletions

View file

@ -3,10 +3,10 @@
;; Copyright (C) 2016-2021 Eric Danan
;; Author: Eric Danan
;; URL: https://github.com/ericdanan/counsel-projectile
;; URL: https://git.icejam.ee/maciej/counsel-projectile
;; Keywords: project, convenience
;; Version: 0.3.2
;; Package-Requires: ((counsel "0.13.4") (projectile "2.5.0"))
;; Version: 0.4.0
;; Package-Requires: ((counsel "0.13.4") (projectile "2.5.0") (emacs "26.1"))
;; This file is NOT part of GNU Emacs.
@ -348,7 +348,7 @@ on `counsel-find-file-ignore-regexp'."
;; We apply `counsel--find-file-matcher' to `cands' so we can
;; honor `ivy-use-ignore', but we don't need to filter
;; again.
(counsel--find-file-matcher nil cands))))
(counsel--find-file-matcher nil cands))))
(defun counsel-projectile-find-file-action (file)
"Find FILE and run `projectile-find-file-hook'."
@ -450,7 +450,7 @@ The sorting function can be modified by adding an entry for
("p" counsel-projectile-find-dir-action-switch-project
"switch project"))
'counsel-projectile)
(defun counsel-projectile--project-directories ()
"Return a list of current project's directories."
(if projectile-find-dir-includes-top-level
@ -923,7 +923,7 @@ is called with a `\\[universal-argument]' prefix argument."
(projectile--globally-ignored-file-suffixes-glob)
(projectile-ignored-files-rel)
(projectile-ignored-directories-rel))
" "))
" "))
(counsel-rg-base-command
(let ((counsel-ag-command counsel-rg-base-command))
(counsel--format-ag-command ignored "%s"))))
@ -1110,7 +1110,7 @@ The format is the same as in `org-capture-templates-contexts'."
"Switch project action for `counsel-projectile-org-capture'."
(setq org-capture-templates counsel-projectile--org-capture-templates-backup)
(counsel-projectile-switch-project 'counsel-projectile-switch-project-action-org-capture))
;;;###autoload
(defun counsel-projectile-org-capture (&optional from-buffer)
"Capture into the current project.
@ -1576,7 +1576,7 @@ files."
(if (member name counsel-projectile--buffers)
(ivy--kill-buffer-action name)
(counsel-projectile-find-file-action-delete name)))
(defun counsel-projectile-action-find-file-manually (name)
"Call `counsel-find-file' from default directory of buffer
directory of file named NAME."