Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nvim tags in todo list are not correctly aligned for links #565

Open
MarcCoquand opened this issue May 29, 2023 · 1 comment
Open

Nvim tags in todo list are not correctly aligned for links #565

MarcCoquand opened this issue May 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@MarcCoquand
Copy link

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 MarcCoquand added the bug Something isn't working label May 29, 2023
@jgollenz
Copy link
Contributor

jgollenz commented May 31, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants