File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file.
66The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
77and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
88
9+ ## [ 4.22.3] - 2024-04-14
10+
11+ ### Fixed
12+
13+ - Neotest: No tests found when getting root directory for a project directory.
14+
915## [ 4.22.2] - 2024-04-14
1016
1117### Fixed
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function cargo.get_root_dir(file_name)
3333 if reuse_active then
3434 return reuse_active
3535 end
36- local path = vim .fs .dirname (file_name )
36+ local path = file_name : find ( ' %.rs$ ' ) and vim .fs .dirname (file_name ) or file_name
3737 if not path then
3838 return nil
3939 end
You can’t perform that action at this time.
0 commit comments