Feel-ix-343/markdown-oxide

lsp rename of heading changes file name instead

nimr0d opened this issue · 2 comments

Renaming with the cursor on [[foo#bar]] will modify the file 'foo' instead of the heading 'bar'.

Hello! Renaming links is not supported right now. Sorry about that!

If you wish to rename headings, you can navigate to the heading and rename on it.

Perhaps this could be a feature in the new version. For now I will close

Ok. Renaming headers should probably be disabled until then, as the current behavior is unexpected. Currently, doing a rename will suggest the name of the header but change the file name instead.