From f556f17947f6e040a8006b7cf6e88576eb159b30 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 21 Jul 2013 20:25:23 +1200 Subject: Move fillchars definition The features required for 'fillchars' are +windows and +folding, not syntax --- vim/vimrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vim/vimrc') diff --git a/vim/vimrc b/vim/vimrc index 33438a4a..daabafc0 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -64,11 +64,6 @@ if has('syntax') " whatever the default is silent! colorscheme sahara - " Get rid of visually noisy folding characters - if has('folding') - let &fillchars = 'diff: ,fold: ,vert: ' - endif - " Don't syntax highlight beyond 300 characters; mostly for efficiency " reasons, but also useful for prodding me into breaking up unreadable " long lines as well when writing code @@ -475,6 +470,11 @@ if has('windows') if exists('&showtabline') set showtabline=1 endif + + " Get rid of visually noisy folding characters + if has('folding') + let &fillchars = 'diff: ,fold: ,vert: ' + endif endif " Use the tilde as an operator with motions, rather than just swapping the -- cgit v1.2.3