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

Auto-execution misbehaves when multiple buffers are loaded #424

Open
manolomartinez opened this issue Feb 25, 2022 · 0 comments
Open

Auto-execution misbehaves when multiple buffers are loaded #424

manolomartinez opened this issue Feb 25, 2022 · 0 comments

Comments

@manolomartinez
Copy link
Contributor

manolomartinez commented Feb 25, 2022

Hi, I am seeing the following behavior.

Steps to reproduce:

  1. Load a pandoc file, say, file1.md
  2. let g:pandoc#command#autoexec_on_writes = 1

At this point, auto-exec works perfectly, but if I now

  1. Load another pandoc file, say, file2.md

Now auto-exec works only with file2.md, not file1.md. And even if I

  1. Close (and even unload) file2.md

file1.md never auto-execs on writes again. I need to close vim and reopen it for it to work again.

Is this something you can reproduce? It might be entirely due to weird interactions with other plugins, in which case I perfectly understand that I'm on my own :)

Thanks for your help,
Manolo

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

1 participant