Skip to content

Commit

Permalink
[compleseus] work with tramp (syl20bnr#15639)
Browse files Browse the repository at this point in the history
make tramp completion work and layout recognize remote project.
  • Loading branch information
thanhvg authored Jul 15, 2022
1 parent 91af298 commit 58f021b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layers/+completion/compleseus/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion layers/+spacemacs/spacemacs-layouts/funcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58f021b

Please sign in to comment.