[compleseus] work with tramp (#15639)

make tramp completion work and layout recognize remote project.
This commit is contained in:
thanhvg 2022-07-15 14:26:09 -06:00 committed by GitHub
parent 91af298090
commit 58f021b3f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -302,7 +302,7 @@
;; (setq completion-styles '(basic partial-completion orderless)
(setq completion-styles '(orderless)
completion-category-defaults nil
completion-category-overrides '((file (styles . (partial-completion)))))))
completion-category-overrides '((file (styles basic partial-completion))))))
(defun compleseus/init-selectrum ()
(use-package selectrum

View File

@ -974,7 +974,9 @@ containing the buffer."
nil))
(project (completing-read
"Switch to Project Perspective: "
projectile-known-projects
(if current-project-maybe
(cons current-project-maybe projectile-known-projects)
projectile-known-projects)
nil
nil
nil