You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
.emacs.d/config/project/config-project-find-rust-pr...

5 lines
304 B
EmacsLisp

(add-to-list 'project-find-functions (lambda (directory)
(let ((rust-project (locate-dominating-file directory "Cargo.toml")))
(when rust-project
(cons 'transient rust-project)))))