From 26cff271ef6fb8174c58767f8f9111eb43f1ecea Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 2 Jun 2016 13:22:11 +0200 Subject: [PATCH] Silence options --- autoload/startify.vim | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/autoload/startify.vim b/autoload/startify.vim index 32dc4e7..4b3d8c0 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -52,23 +52,19 @@ function! startify#insane_in_the_membrane() abort endfor endif - setlocal + silent! setlocal \ bufhidden=wipe \ nobuflisted \ nocursorcolumn \ nocursorline \ nolist \ nonumber + \ norelativenumber + \ nospell \ noswapfile if empty(&statusline) setlocal statusline=\ startify endif - if v:version >= 700 - setlocal nospell - endif - if v:version >= 703 - setlocal norelativenumber - endif " Must be global so that it can be read by syntax/startify.vim. if exists('g:startify_custom_header')