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

bullets make editing heading level a bit less convenient? #66

Open
xfzv opened this issue Feb 8, 2024 · 1 comment
Open

bullets make editing heading level a bit less convenient? #66

xfzv opened this issue Feb 8, 2024 · 1 comment

Comments

@xfzv
Copy link

xfzv commented Feb 8, 2024

I've just updated to d39c4e6

Unless I'm missing something, the new bullets feature make editing heading a bit more difficult than before.

return {
  "lukas-reineke/headlines.nvim",
  dependencies = "nvim-treesitter/nvim-treesitter",
  commit = "e3d7bfdf40e41a020d966d35f8b48d75b90367d2",
  opts = {},
}

01-before

I could simply enter insert mode and add/remove any * character to change the heading level.


return {
  "lukas-reineke/headlines.nvim",
  dependencies = "nvim-treesitter/nvim-treesitter",
  opts = {},
}

02-after

Now, when entering insert mode, the * characters are no longer displayed, only the bullet signs are. I have to press x as many times as required (once for heading 1, twice for heading 2 and so on) to completely delete the heading, then recreate it with *.

I ended up using

opts = {
    bullets = {},
}

for now. Just curious if this is me being an idiot and missing something obvious, or if this could be a minor regression.

Thanks!

@lukas-reineke
Copy link
Owner

Yeah I agree, it's not handled well.
I have to refactor the whole plugin a bit, I'll address this then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants