telekasten.nvim icon indicating copy to clipboard operation
telekasten.nvim copied to clipboard

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

Open Dioprz opened this issue 1 year ago • 0 comments

Please confirm

  • [x] 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 avatar Jan 18 '24 01:01 Dioprz