Silence options

This commit is contained in:
Marco Hinz 2016-06-02 13:22:11 +02:00
parent 71a517c93c
commit 26cff271ef

View file

@ -52,23 +52,19 @@ function! startify#insane_in_the_membrane() abort
endfor endfor
endif endif
setlocal silent! setlocal
\ bufhidden=wipe \ bufhidden=wipe
\ nobuflisted \ nobuflisted
\ nocursorcolumn \ nocursorcolumn
\ nocursorline \ nocursorline
\ nolist \ nolist
\ nonumber \ nonumber
\ norelativenumber
\ nospell
\ noswapfile \ noswapfile
if empty(&statusline) if empty(&statusline)
setlocal statusline=\ startify setlocal statusline=\ startify
endif 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. " Must be global so that it can be read by syntax/startify.vim.
if exists('g:startify_custom_header') if exists('g:startify_custom_header')