[compleseus] work with tramp (#15639)
make tramp completion work and layout recognize remote project.
This commit is contained in:
parent
91af298090
commit
58f021b3f3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue