man.vim: buffers are now listed

- Since the names are set and ':vsplit printf(3)' work, there is no need
to unlist them.
This commit is contained in:
Anmol Sethi
2016-08-06 16:04:34 -04:00
committed by Anmol Sethi (nhooyr)
parent e89eb5d21b
commit e8a3477dc7
2 changed files with 0 additions and 5 deletions

View File

@@ -25,7 +25,6 @@ endif
setlocal buftype=nofile
setlocal noswapfile
setlocal bufhidden=hide
setlocal nobuflisted
setlocal nomodified
setlocal readonly
setlocal nomodifiable

View File

@@ -12,8 +12,4 @@ nnoremap <silent> <Plug>(Man) :<C-U>call man#open_page(v:count, v:count1, &filet
augroup man
autocmd!
autocmd BufReadCmd man://* call man#read_page(matchstr(expand('<amatch>'), 'man://\zs.*'))
" Need this because without it, if you do ':Man printf(3)' and then later,
" open a session that contains a buffer named 'man://printf(3)', the buffer
" will become listed.
autocmd BufEnter man://* set nobuflisted
augroup END