瀏覽代碼

use no scratch buffer anymore

Closes #6.
Marco Hinz 12 年之前
父節點
當前提交
ed601090cc
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      plugin/startify.vim

+ 2 - 2
plugin/startify.vim

@@ -30,7 +30,7 @@ function! s:insane_in_the_membrane() abort
       endif
     endfor
   endif
-  setlocal nonumber noswapfile buftype=nofile bufhidden=wipe
+  setlocal nonumber noswapfile bufhidden=wipe
   if v:version >= 703
     setlocal norelativenumber
   endif
@@ -86,7 +86,7 @@ function! s:insane_in_the_membrane() abort
 
   call append('$', ['', '   [q]  quit'])
 
-  setlocal nomodifiable
+  setlocal nomodifiable nomodified
 
   nnoremap <buffer> q :quit<cr>
   nnoremap <buffer><silent> e :enew<cr>