Monday, July 16, 2012

vim: syntax issue: colorscheme change reset my syntax highlight

experts:
I found every time I change my colorscheme, my syntax highlight seems
got reset.

* the reason I need to change my colorscheme:
I use vim from inside gnu screen, work from office & home,
in office I run terminator/ubuntu, with default as colorscheme.
at home when I run cygwin/win7, and when I resume screen, I found the
default doesn't looks good and I change colorscheme to koehler, which
looks the best.

* the reason this become annoying
I write asciidoc in a day to day base, with current asciidoc syntax file:
https://github.com/dagwieers/asciidoc-vim
for some reason (guess maybe its because the way it got implemented used
too much wild search/match ) it become very slow with a large file (2M
txt for example)
this make it painful everytime I lost my highlights and need to set
ft=asciidoc again (need to wait more than 1 minute during 100% cpu )

not sure I better split into 2 questions/emails...
please advise.

thanks

regards
ping

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