aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-07-21 20:25:23 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-07-21 20:25:23 +1200
commitf556f17947f6e040a8006b7cf6e88576eb159b30 (patch)
treef0a9347872339eae3e0b229b2f23825bd53e543c /vim
parentUnset helper functions for ls/grep setup (diff)
downloaddotfiles-f556f17947f6e040a8006b7cf6e88576eb159b30.tar.gz
dotfiles-f556f17947f6e040a8006b7cf6e88576eb159b30.zip
Move fillchars definition
The features required for 'fillchars' are +windows and +folding, not syntax
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc10
1 files changed, 5 insertions, 5 deletions
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