Merge pull request #558 from HiPhish/nospell

Do not check spelling in vim-plug buffers
This commit is contained in:
Junegunn Choi 2016-12-04 01:03:05 +09:00 committed by GitHub
commit ca0b726f46

View file

@ -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()