From 7853724e5b76d4d3c39bbac6dcd59e8ab64140ae Mon Sep 17 00:00:00 2001 From: Matt Southerden Date: Tue, 18 Oct 2011 11:25:54 +0100 Subject: [PATCH] Highlighting for ColorColumn in v7.3+ --- Vim/Tomorrow-Night-Blue.vim | 3 +++ Vim/Tomorrow-Night-Bright.vim | 3 +++ Vim/Tomorrow-Night-Eighties.vim | 3 +++ Vim/Tomorrow-Night.vim | 3 +++ Vim/Tomorrow.vim | 3 +++ 5 files changed, 15 insertions(+) diff --git a/Vim/Tomorrow-Night-Blue.vim b/Vim/Tomorrow-Night-Blue.vim index 107954ca..075e0d0c 100644 --- a/Vim/Tomorrow-Night-Blue.vim +++ b/Vim/Tomorrow-Night-Blue.vim @@ -252,6 +252,9 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256 call X("PMenu", s:foreground, s:selection, "none") call X("PMenuSel", s:foreground, s:selection, "reverse") end + if version >= 703 + call X("ColorColumn", "", s:line, "none") + end " Standard Highlighting call X("Comment", s:comment, "", "") diff --git a/Vim/Tomorrow-Night-Bright.vim b/Vim/Tomorrow-Night-Bright.vim index aaaa66a8..a7fc2c6b 100644 --- a/Vim/Tomorrow-Night-Bright.vim +++ b/Vim/Tomorrow-Night-Bright.vim @@ -252,6 +252,9 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256 call X("PMenu", s:foreground, s:selection, "none") call X("PMenuSel", s:foreground, s:selection, "reverse") end + if version >= 703 + call X("ColorColumn", "", s:line, "none") + end " Standard Highlighting call X("Comment", s:comment, "", "") diff --git a/Vim/Tomorrow-Night-Eighties.vim b/Vim/Tomorrow-Night-Eighties.vim index 40adc897..c18743e4 100644 --- a/Vim/Tomorrow-Night-Eighties.vim +++ b/Vim/Tomorrow-Night-Eighties.vim @@ -252,6 +252,9 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256 call X("PMenu", s:foreground, s:selection, "none") call X("PMenuSel", s:foreground, s:selection, "reverse") end + if version >= 703 + call X("ColorColumn", "", s:line, "none") + end " Standard Highlighting call X("Comment", s:comment, "", "") diff --git a/Vim/Tomorrow-Night.vim b/Vim/Tomorrow-Night.vim index f05f00bc..4fc9ebe5 100644 --- a/Vim/Tomorrow-Night.vim +++ b/Vim/Tomorrow-Night.vim @@ -259,6 +259,9 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256 call X("PMenu", s:foreground, s:selection, "none") call X("PMenuSel", s:foreground, s:selection, "reverse") end + if version >= 703 + call X("ColorColumn", "", s:line, "none") + end " Standard Highlighting call X("Comment", s:comment, "", "") diff --git a/Vim/Tomorrow.vim b/Vim/Tomorrow.vim index 67910422..88d3a339 100644 --- a/Vim/Tomorrow.vim +++ b/Vim/Tomorrow.vim @@ -251,6 +251,9 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256 call X("PMenu", s:foreground, s:selection, "none") call X("PMenuSel", s:foreground, s:selection, "reverse") end + if version >= 703 + call X("ColorColumn", "", s:line, "none") + end " Standard Highlighting call X("Comment", s:comment, "", "")