Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Nested notes prevent the creation of notes with the same name in the vault home #298

Open
1 task done
Dioprz opened this issue Jan 18, 2024 · 0 comments
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@Dioprz
Copy link

Dioprz commented Jan 18, 2024

Please confirm

  • I am running the latest version of this plugin

Describe the bug
If you have some nested note in a vault subdir, then you can't create a home rooted note with the same name using <leader>zn

To Reproduce

  1. In the vault, create the note "bar", and then another one "foo/bar". No problem.
  2. Now, try to create the note "foo/bar2" and then "bar2". The "bar2" note will not be created because telescope just prompt the previous created "foo/bar2".

Screenshot
screenshot_2024-01-17_20-44-18
This should create the note 'tree' as first result (or just as a result, in any case)

image

Instead, you get this (the other results are not important).

Expected behavior
The order of operations should not matter, and the create note function should create the note except for perfect matches (including the absolute path relative tto the vault home).

Operating system (please complete the following information):

  • OS: NixOS
@Dioprz Dioprz added the bug Something isn't working label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants