Do not check spelling in vim-plug buffers

This commit is contained in:
HiPhish 2016-12-03 12:30:51 +01:00
parent 6ad18f5fb8
commit 942f994844

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