orgmode icon indicating copy to clipboard operation
orgmode copied to clipboard

Nvim tags in todo list are not correctly aligned for links

Open MarcCoquand opened this issue 2 years ago • 1 comments

Describe the bug

If you add a link ([[https://somewhere.com][like this]]) to your todo item and then use the built in tag tool, it seems to not correctly horizontally align the tag itself.

Steps to reproduce

  1. Enter quick capture
  2. Create a todo with a link
My todo item [[https://github.com/nvim-orgmode/orgmode/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml][Super long link]] 
  1. Set a tag for the new item
  2. Close quick capture, go to do

Expected behavior

I would expect the items to be horizontally aligned, I.E. NOT like this:

TODO My first item                                            :tag1:
TODO My second item with link :tag1:

Emacs functionality

No response

Minimal init.lua


Screenshots and recordings

No response

OS / Distro

Mac OS 12.3

Neovim version/commit

0.9.0

Additional context

No response

MarcCoquand avatar May 29 '23 10:05 MarcCoquand

The tags 'are' aligned (you can check by set concealcursor=""), but the hidden link messes with that. We can probably fix that now with virtual indent.

jgollenz avatar May 31 '23 05:05 jgollenz