Skip to content

Commit

Permalink
Touch up the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Aug 14, 2024
1 parent fb78b79 commit 01fb6a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* [#1876](https://github.com/bbatsov/projectile/pull/1876): Add support for Jujutsu VCS.
* [#1877](https://github.com/bbatsov/projectile/pull/1877): Add custom variable `projectile-cmd-hist-ignoredups`.
* Add support for Eask projects.
* [#1892](https://github.com/bbatsov/projectile/pull/1892): Add category metadata to `completing-read`. (it's used by packages like `marginalia` and `embark`)

### Bugs fixed

Expand Down
4 changes: 4 additions & 0 deletions projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@ project-root for every file."
projectile-completion-system)
('default (completing-read prompt (lambda (string pred action)
(cond
;; this metadata is used by
;; packages like marginalia and
;; embark to enhance how they
;; present candidates
((eq action 'metadata)
'(metadata . ((category . file))))
(t
Expand Down

0 comments on commit 01fb6a5

Please sign in to comment.