Marco Hinz преди 9 години
родител
ревизия
26cff271ef
променени са 1 файла, в които са добавени 3 реда и са изтрити 7 реда
  1. 3 7
      autoload/startify.vim

+ 3 - 7
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')