On Nov 11, 6:25 am, Themis Kotsialos <[email protected]> wrote: > Hello, vim-ers! > > I'm trying to feel comfortable in the following settings: > > I have to edit some literate programming textfiles/projects; some > are in cweb, some in noweb. > I can have syntax highlighting and folding to work ok, using e.g. > noweb.vim script from vim.scripts. > > Now, can I have *more than one* color schemes inside the same buffer > (e.g. C code in one, tex documentation in another, some bash lines in > another ... ) > while keeping the goodies of corresponding syntax highlighting ?? > > [If this topic has already been discussed, please provide pointers.] >
Side note: the correct term is "syntax", "syntax rules", or "syntax highlighting", not "color scheme". A color scheme is the set of color rules that is used by all of Vim, a set of syntax rules defines which of these color rules apply to each part of a specific file type. That said, I think you will find this useful: http://vim.wikia.com/wiki/Different_syntax_highlighting_within_regions_of_a_file -- 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
