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

zopen vim does not understand FilterWritePre #71

Open
runningppl opened this issue Oct 18, 2024 · 1 comment
Open

zopen vim does not understand FilterWritePre #71

runningppl opened this issue Oct 18, 2024 · 1 comment

Comments

@runningppl
Copy link

It seems the zopen VIM does not understand FilterWritePre. ( https://vimdoc.sourceforge.net/htmldoc/autocmd.html#FilterWritePre )

To reproduce the problem:
1. create a file myvimrc as follows 
> cat myvimrc
au  FilterWritePre * if &diff | echo "____HELLO WORLD____"

2. vim -u myvimrc -d aaa.txt bbb.txt   # aaa.txt bbb.txt do not need to exist
=> OR <=
In your own .vimrc, insert the command at 1 and 'vim -d aaa.txt bbb.txt'

When the autocommand(au) runs successfully, HELLO WORLD is found [refer to the screen cap]
But with zopen VIM, the output is not found

image

@MikeFultonDev
Copy link
Collaborator

@IgorTodorovskiIBM fyi

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