Closed Bahex closed 2 years ago
When a file and a directory within the same directory have the same name(excluding the file's extension) neotest flattens the tree.
With this file tree:
src ├── mod_a │ ├── mod_b │ │ └── mod_c.rs │ └── mod_b.rs └── mod_a.rs
Summary window looks like this:
╰╮ src ├─ mod_a ├─ mod_a.rs ├─ mod_b ├─ mod_b.rs ╰─ mod_c.rs
When it should look like this:
╰╮ src ├╮ mod_a │├╮ mod_b ││╰─ mod_c.rs │╰─ mod_b.rs ╰─ mod_a.rs
The issue isn't just in the summary window, return values of :parent() nodes also have the same flattened structure.
:parent()
Thanks for the report! This should now be working in latest master :smile:
Works as expected 👍 thank you!
When a file and a directory within the same directory have the same name(excluding the file's extension) neotest flattens the tree.
With this file tree:
Summary window looks like this:
When it should look like this:
The issue isn't just in the summary window, return values of
:parent()
nodes also have the same flattened structure.