On 16 мар, 16:20, Tony Mechelynck <antoine.mechely...@gmail.com>
wrote:
> ...
> Note that altering any of these three options in an undo_ftplugin line
> is courting disaster: Vim has a separate mechanism to detect these
> options' values when opening an existing file, and the results are
> usually correct; for new files, you might have set them manually to
> something else than the global default, and if I did that I would expect
> Vim to respect my choice even if I later change the filetype.
So one shouldn't do like this:
 let b:undo_ftplugin = "setl bomb<"
 setlocal bomb
in ftplugin, should him?
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to