浏览代码

Do not check spelling in vim-plug buffers

HiPhish 9 年之前
父节点
当前提交
942f994844
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -751,7 +751,7 @@ function! s:prepare(...)
   for k in ['<cr>', 'L', 'o', 'X', 'd', 'dd']
     execute 'silent! unmap <buffer>' k
   endfor
-  setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline modifiable
+  setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline modifiable nospell
   setf vim-plug
   if exists('g:syntax_on')
     call s:syntax()