lsp rename of heading changes file name instead
nimr0d opened this issue · 2 comments
nimr0d commented
Renaming with the cursor on [[foo#bar]] will modify the file 'foo' instead of the heading 'bar'.
Feel-ix-343 commented
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
nimr0d commented
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.