aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-02-26 12:40:46 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-26 12:40:46 +1300
commit252a3a1df61fe77253733db8793d0652e0029298 (patch)
tree0fe3f9fdce4752a6c218fd7aa5b5c31e5eccb2cb
parentChange screen window title with PROMPT_COMMAND. (diff)
downloaddotfiles-252a3a1df61fe77253733db8793d0652e0029298.tar.gz
dotfiles-252a3a1df61fe77253733db8793d0652e0029298.zip
Remove silent! call to showtabline.
Use exists("&showtabline") instead, it's nicer.
-rw-r--r--vim/vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 445c1db8..5179d474 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -141,7 +141,9 @@ if has("windows")
if has("vertsplit")
set splitright
endif
- silent! set showtabline=1
+ if exists("&showtabline")
+ set showtabline=1
+ endif
endif
" Wrapping