Re: different colorschemes for different filetypes in the split window
- On Sunday, November 25, 2012 8:00:21 PM UTC-6, cyboman wrote:
> Does anybody know if there is a way to set different colorschemes for different filetypes in the split window?There is not. Vim globally applies :highlight commands which are used by colorschemes to set the colors. Different windows cannot have different colors defined for the same highlight groups.
> Any help is appreciated.
You could create a colorscheme which defines highly detailed colors for each different filetype of interest to get different colors for top-level syntax elements, but some things like the Normal background color and text color for unhighlighted items will be the same between the two still.
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