Monday, December 26, 2011

Re: why is Vim coloring text in txt files?

Hello

-- <snip> --
> ,----[ ft=text ]---------------------------
>
> " txt
> autocmd BufNewFile,BufRead
> \ *.txt,
> \\c*README*
> \ setl ft=text
> `---------------------------------------------

I just figured i probably introduced new cpo-bugs. Wolfv if you use this as is
you need to add also at the beginning of this file something like:

let s:cpo_save = &cpo
set cpo&vim

...and at the end:

let &cpo = s:cpo_save
unlet s:cpo_save

-- <snip> --

--
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F


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