On Feb 11, 3:37 am, Albie Janse van Rensburg <[email protected]>
wrote:

>
> You might want to add a filetype rule for .eml files to remove the "t"
> option.  To do this, in your ~/.vim/ftdetect/eml.vim (create dir/file if
> it doesn't exist already), add the following lines (unless you already
> have them):
>
>     au BufRead,BufNewFile *.eml        setfiletype eml
>     au BufRead,BufNewFile *        if &ft == 'eml' | set fo-=t | endif
>

My Vim automatically dectects a new (empty) *.ml file as type "ocaml".
If this is correct, then you certainly will not need to add filetype
detection rules (though if it's wrong, you may want to correct it).
Regardless, setting the 'fo' option in the filetype detection
(ftdetect) directory is NOT correct. It should go in ~/.vim/ftplugin/
{file type}.vim or ~/.vim/after/ftplugin/{file type}.vim.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to