Hi,

I have a (ft)plugin that overrides filetype of .wiki extension from
flexwiki to vimwiki. Everything seems quite good except for a state of
just opened buffer that is in 'changed' one.
As far as I can see FlexWiki ftplugin does :setlocal bomb command that
puts vim's buffer in a 'changed' state.
As a workaround I suggest vimwiki users to delete a line from
filetype.vim or use another file extension for vimwiki's files.
It looks like this is the only standard ftplugin that sets bomb on
it's files.

But anyway, shouldn't vim revert setlocal stuff?
I can see:
let b:undo_ftplugin = "setl tw< wrap< lbr< et< ts< fenc< bomb< ff<"
in flexwiki.vim and it doesn't work for bomb.

PS
To test it:
:e ~/aaa.wiki
:w
:set ft=html
:q
E37: No write since last change ...
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to