fix(vertico): add +vertico/find-file-in stopgap
Temporarily disable embark actions (and as a result, marginalia annotations) for +vertico/find-file-in and functions that use it, since because currently the embark actions don't inherit the intended default-directory, embark actions might run unintentional destructive operations if there are files with the same name in the default-directory and the directory +vertico/find-file-in is run on. Ref #5494
This commit is contained in:
parent
f50bfdc703
commit
8b3b39532d
1 changed files with 5 additions and 4 deletions
|
@ -192,10 +192,11 @@ overrides `completion-styles' during company completion sessions.")
|
|||
(add-hook 'marginalia-mode-hook #'all-the-icons-completion-marginalia-setup))
|
||||
(advice-add #'marginalia--project-root :override #'doom-project-root)
|
||||
(pushnew! marginalia-command-categories
|
||||
'(+default/find-file-under-here. file)
|
||||
'(doom/find-file-in-emacsd . project-file)
|
||||
'(doom/find-file-in-other-project . project-file)
|
||||
'(doom/find-file-in-private-config . file)
|
||||
;; HACK temporarily disabled until #5494 is fixed
|
||||
;;'(+default/find-file-under-here. file)
|
||||
;;'(doom/find-file-in-emacsd . project-file)
|
||||
;;'(doom/find-file-in-other-project . project-file)
|
||||
;;'(doom/find-file-in-private-config . file)
|
||||
'(doom/describe-active-minor-mode . minor-mode)
|
||||
'(flycheck-error-list-set-filter . builtin)
|
||||
'(persp-switch-to-buffer . buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue