From: Iain Patterson Date: Mon, 22 Sep 2008 15:42:36 +0000 (+0000) Subject: Fix LineNr highlighting. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=9b031e4cfec3afab6531b784af528a3eb083b8e2;p=profile.git Fix LineNr highlighting. Set listchars when entering Make mode. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@149 6be0d1a5-5cfe-0310-89b6-964be062b18b --- diff --git a/.vimrc b/.vimrc index d2aa0c5..48a2cf2 100644 --- a/.vimrc +++ b/.vimrc @@ -205,13 +205,17 @@ au BufLeave * if &ft == "make" | call MakeMode_unmap() | endif " Entering Make mode. fun! MakeMode_map() - set list + call Iain_Vars() + let b:iainlist=1 + call Cycle_List() + set ts=8 set noexpandtab endfun " Leaving Make mode. fun! MakeMode_unmap() - set nolist + call Cycle_List() + set ts=2 set expandtab endfun @@ -298,9 +302,6 @@ if &diff let &columns = 164 endif -" Numbers in blue. -highlight LineNr term=underline cterm=bold guifg=blue ctermfg=blue - " Remember that we are opening the quickfix window. au BufWinEnter quickfix let g:quickfixing=1 au BufUnload * if &ft == "qf" | let g:quickfixing=0 | endif