суббота, 29 сентября 2012 г., 0:15:33 UTC+4 пользователь Christian Brabandt написал: > >You may replace first "echom" with "setlocal" and see that > > option is set for a wrong buffer. Your autocmd must not be used. > > You are changing buffers and wiping a buffer. I am not sure what you are > trying to show here. Do what I suggested with :setlocal. *It will set options for the buffer that **was not being unloaded***. ****Wrong**** buffer.
And, by the way, you are using b:undo_ftplugin from the *wrong* buffer as well. Because "b:" is *current* buffer scope and you must not touch buffer that is not being unloaded. -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
