[compleseus] work with tramp (#15639)
make tramp completion work and layout recognize remote project.
This commit is contained in:
parent
91af298090
commit
58f021b3f3
2 changed files with 4 additions and 2 deletions
|
@ -302,7 +302,7 @@
|
||||||
;; (setq completion-styles '(basic partial-completion orderless)
|
;; (setq completion-styles '(basic partial-completion orderless)
|
||||||
(setq completion-styles '(orderless)
|
(setq completion-styles '(orderless)
|
||||||
completion-category-defaults nil
|
completion-category-defaults nil
|
||||||
completion-category-overrides '((file (styles . (partial-completion)))))))
|
completion-category-overrides '((file (styles basic partial-completion))))))
|
||||||
|
|
||||||
(defun compleseus/init-selectrum ()
|
(defun compleseus/init-selectrum ()
|
||||||
(use-package selectrum
|
(use-package selectrum
|
||||||
|
|
|
@ -974,7 +974,9 @@ containing the buffer."
|
||||||
nil))
|
nil))
|
||||||
(project (completing-read
|
(project (completing-read
|
||||||
"Switch to Project Perspective: "
|
"Switch to Project Perspective: "
|
||||||
projectile-known-projects
|
(if current-project-maybe
|
||||||
|
(cons current-project-maybe projectile-known-projects)
|
||||||
|
projectile-known-projects)
|
||||||
nil
|
nil
|
||||||
nil
|
nil
|
||||||
nil
|
nil
|
||||||
|
|
Reference in a new issue