On 2 апр, 20:14, Ben Fritz <[email protected]> wrote:
> This simple test case demonstrates my problem:
>
> vim -u NONE -N -i NONE
>
> :autocmd BufRead *.txt setlocal wrap
> :view test.txt
> :tabe test.c
> :setlocal nowrap
>
> Now modify test.txt outside of Vim and give focus back to Vim to
> trigger a reload of test.txt.
>
> Vim is still in the test.c tab, so when the BufRead autocmd fires,
> 'wrap' is set for test.c instead of test.txt.
I confirm it. Looks like a bug to me.

Regards,
Maxim Kim.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to