On 29 апр, 10:48, ron <[email protected]> wrote:
> I have recently started editing files with a '.wiki' extension, and
> rather than getting the 'wikipedia' filetype, they pick up  the
> 'flexwiki' type.  That's not the problem.
>
> The problem is that the 'flexwiki' filetype handler sets "bomb",
> resulting in extra characters at the front of my utf8 files -- this
> has caused problems with other software which reads those files (I
> never have 'bomb' set).
>
> Scanning the ftplugins, it seems 'flexwiki' is the only one which sets
> 'bomb'.  Is it an ok thing for it to do?  Also, why is "flexwiki" the
> handler, when wikipedia is probably the most widely used wiki?  But
> that's a quibble.

I had the very same problem with it.

Check 
http://groups.google.com/group/vim_use/browse_thread/thread/23f33912b2c0d292/90ba2a0b3a80a1fc?lnk=gst&q=flexwiki#90ba2a0b3a80a1fc

In my plugin I just do

augroup filetypedetect
  " clear FlexWiki's stuff
  au! * *.wiki
augroup end

-- 
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

Raspunde prin e-mail lui