nvim-neorg / neorg-telescope

Telescope.nvim integration for Neorg
GNU General Public License v3.0
187 stars 24 forks source link

`Telescope neorg insert_link` inserts malformed link #73

Open Anrock opened 1 month ago

Anrock commented 1 month ago

Given a header ** Доступ к FS in file Exa.norg Using Telescope neorg insert_link to insert link to it in other file produces {:$/Exa:** Доступ к Доступ к FS}[Доступ к FS]. Note that Доступ к is doubled in link part

Seems to be happening only if

Single non-english word header is fine Multiword header if first word is in english is fine too.

Upd: Also broken for headers with todo marks. Link to *** ( ) Git lfs in the same file is inserted as {*** ( ) ( ) Git lfs} And even if double todo mark is removed manually link is still invalid - link must not have any todo marks at all to work.