mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/rust: fix +rust-cargo-project-p not detecting nearer Cargo.toml files
This commit is contained in:
@ -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"))
|
||||
|
Reference in New Issue
Block a user