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

Checkbox setting not respected #27

Open
pianocomposer321 opened this issue Dec 17, 2022 · 1 comment
Open

Checkbox setting not respected #27

pianocomposer321 opened this issue Dec 17, 2022 · 1 comment

Comments

@pianocomposer321
Copy link

Hey @akinsho, awesome plugin as always, just started using it a bit ago and I love it!

So when I use the following configuration...

require("org-bullets").setup {
  concealcursor = true,
  checkboxes = {
    half = { "-", "OrgTSCheckboxHalfChecked" },
    todo = { "×", "OrgTODO" },
  },
}

...neither the half nor the todo checkbox states get updated. Am I doing something wrong? I've confirmed that the function is being run with print function calls.

@ali7line
Copy link
Contributor

I had the same issue, but mine was for not indenting the checkboxes. It could be a syntax issue.

* TODO test
  - [ ] Task 1

You have

* TODO test
  [] Task 1

which is not parsed as a checkbox, but a line that happens to start with two brackets. You need the dash at the front and the blanks in-between. See here
nvim-orgmode/orgmode#491 (comment)

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