Skip to content

Commit 002e527

Browse files
juergenhoetzelbbatsov
authored andcommitted
Use 'project-file as category metadata in completing read
project-file is a more suitable category for the completion (also used by project.el). 'vertico-prescient-completion-category-overrides changes the completion style for 'file to '(basic partial-completion) and limits completion to prefix matches. Fixes #1902
1 parent 8cc2ee8 commit 002e527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projectile.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2079,7 +2079,7 @@ project-root for every file."
20792079
;; embark to enhance how they
20802080
;; present candidates
20812081
((eq action 'metadata)
2082-
'(metadata . ((category . file))))
2082+
'(metadata . ((category . project-file))))
20832083
(t
20842084
(complete-with-action action choices string pred))))
20852085
nil nil initial-input))

0 commit comments

Comments
 (0)