lang/rust: fix +rust-cargo-project-p not detecting nearer Cargo.toml files
This commit is contained in:
parent
b19d30b145
commit
de730535a4
1 changed files with 1 additions and 1 deletions
|
@ -5,4 +5,4 @@
|
|||
;;;###autoload
|
||||
(defun +rust-cargo-project-p ()
|
||||
"Return t if this is a cargo project."
|
||||
(doom-project-has! "Cargo.toml"))
|
||||
(locate-dominating-file buffer-file-name "Cargo.toml"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue