wrote:
> /vimfiles/filetype.vim
>
> " filetype detection script (user customizations)
> " I'll say this once only
> if exists("did_load_filetypes")
> finish
> endif
>
> " allow continuation lines
> let s:cpo = &cpo
> set cpo&vim
>
> augroup filetypedetect
>
> " text files
> au BufRead,BufNewFile
> \ *.txt,README*,LISEZMOI*,LIESMICH*,LEESMIJ*
> \ setf text
>
> " add additional filetype detection autocommands above this line
> augroup END
> let &cpo = s:cpo
Hi Tony. After using Vim some more I noticed that my txt files wrap
at column 80.
My vimrc file has:
setlocal lines=72 columns=100
I copied the above filetype.vim file:
When I have no filetype, files wrap at column 100 as desired. How to
make txt files wrap at column 100?
Thanks,
wolfv
--
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
No comments:
Post a Comment