> > [...] > > made just before version 7.3.388 added > > > > au BufNewFile,BufRead *.txt,*.text setf text > > > > to $VIMRUNTIME/filetype.vim. > > > > I haven't tried this, but according to ":help filetype-ignore" you > > can work around this problem by putting this is your .vimrc: > > > > let g:ft_ignore_pat = '\.\(Z\|gz\|bz2\|zip\|tgz\|txt\)$' > > > > That is the default value of g:ft_ignore_pat with "txt" added. That > > will prevent .txt files from being given any file type, which may > > not be the best solution, but it should given you the behavior you > > had using 7.3.333. > > It doesn't work, but if I delete the line: > au BufNewFile,BufRead *.txt,*.text setf text > from $VIMRUNTIME/filetype.vim, it works but it isn't a nice solution.
I also noticed that if I keep intact $VIMRUNTIME/filetype.vim and remove the line: autocmd FileType text setlocal textwidth=78 from $VIMRUNTIME/vimrc_example.vim it also works. Isn't there any possibility to customize $VIMRUNTIME/vimrc_example.vim on an after subdirectory? Best Regards, -- Cesar -- You received this message from the "vim_use" 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
