Set nolist in vim-plug buffers

This commit is contained in:
Scott Stevenson 2016-10-26 22:30:41 +01:00
parent 49c6b781e0
commit 078f32142d
No known key found for this signature in database
GPG Key ID: EF25C8864C0618DC

View File

@ -749,7 +749,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 noswapfile nowrap cursorline modifiable
setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline modifiable
setf vim-plug
if exists('g:syntax_on')
call s:syntax()