Description
Prerequisites
- I am using the latest stable release of Neovim
- I am using the latest version of the plugin
Neovim Version
0.10.2
Neorg setup
require("neorg").setup()
Actual behavior
Neovim freezes after typing #
, or in some configurations, only after typing a char after the #
Expected behavior
No freeze, completion continues as normal
Steps to reproduce
- default config, or just enable the completion module. This happens with interim ls and native cmp completion, have not tested others.
- Paste this exact content into a norg file
Go#a
- witness the freeze
* neorg-query
- ( ) any
** TODO:
*** (x) a
**** ( ) b
Potentially conflicting plugins
none that i can think of, interim ls maybe, but I've disabled it and it still happens
Other information
You can play around the the file contents. Removing blank lines will cause the issue to stop for example.
Somehow, I think this issue is related to the reason that I can't write a TS query to pull todo items from a level two heading consistently. It feels the same. I was never able to figure out that issue, it seems like it's just a TS parser bug.
Help
Yes
Implementation help
I might look into this if it starts to bother me. Currently the configuration is so rare, and I rarely ever type #
without something already below it that I'm just making this for tracking purposes.