-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Impatient.nvim does not properly load Mkdnflow #49
Comments
When was the last time you updated the plugin? This looks like a general message about not being able to find the |
installed right now |
Hmm, weird. Can you show me what your mkdnflow config looks like? |
Are you using the default config? (just |
Yes, but I have also tried to use the defaults explicitly |
Got it. How are you loading the plugin? In the traceback above it looks like the error occurs after the plugin is force started? Is it trying to load after you select a file in telescope? Can you toggle a to-do status if you open the same markdown file from the command line? ( |
unfortunately
Some stuff works. E.g. the function And it only does sth through the command not the key mapped to it |
Interesting, thanks. It seems like the plugin is not fully initializing. I can reproduce this partially--the mappings are not working if I start from Telescope. Somehow the BufEnter event is not occurring, so the autocommand isn't being triggered. Just to double check, the file you're experiencing this in has a .md extension, right? Can you double-check the nvim version for me by pasting the output of |
Just pushed a small change that may fix at least the mappings problem. Can you pull the update and report back? |
Thanks, I have pulled but still no luck :-/ |
|
Thanks for the info. It should be good of course with 0.7.0, which is the same version I test and use the plugin on. The only thing I can think is that this somehow has to do with your specific config/other plugins. Do you have your vim dotfiles posted somewhere so I can try them out and see if I can reproduce what's happening on your end? If that still doesn't provide any clues, I may need to patch together some logging functionality so we can see where in the plugin startup process things are going awry. Thx for your patience... this is a tricky one. |
many thanks for taking up this challenge! |
I was able to reproduce this with your config, but the issue doesn't seem to be caused by mkdnflow. It has something to do with how impatient.nvim caches plugins and runs plugin setup. If I comment out the first line in your init.vim (see below), mkdnflow loads just fine. Since I'm not aware of the inner workings of impatient.nvim, I would probably recommend filing an issue with them. If you do, you can reference this issue and/or tag me. --local impatient_ok, impatient = pcall(require, "impatient") This error message seems relevant:
|
Many thanks @jakewvincent for tracking this down! I will file a bug report with impatient |
After deleting any potential caching, it worked with a minimal init.lua. So it seems to be in between impatient.nvim and mkdnflow.nvim. I will investigate a bit further what the real root cause is. |
Executing
MkdnToggleToDo
or a corresponding mapping on a todo item (- [ ] todo1
) throws the following error:Nvim: 0.7
OS: Ubuntu
Shell: Zsh
The text was updated successfully, but these errors were encountered: