aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnmol Sethi <anmol@aubble.com>2016-08-06 16:04:34 -0400
committerAnmol Sethi (nhooyr) <anmol@aubble.com>2016-08-07 15:53:31 -0400
commite8a3477dc771f6e8f9fa0c8de6d2bdef76fabdc8 (patch)
tree6e4292b65922cb91688df78378da5567913ebf60
parente89eb5d21bf4323bb690bc54d1f035bfd5d6b1e6 (diff)
downloadrneovim-e8a3477dc771f6e8f9fa0c8de6d2bdef76fabdc8.tar.gz
rneovim-e8a3477dc771f6e8f9fa0c8de6d2bdef76fabdc8.tar.bz2
rneovim-e8a3477dc771f6e8f9fa0c8de6d2bdef76fabdc8.zip
man.vim: buffers are now listed
- Since the names are set and ':vsplit printf(3)' work, there is no need to unlist them.
-rw-r--r--runtime/ftplugin/man.vim1
-rw-r--r--runtime/plugin/man.vim4
2 files changed, 0 insertions, 5 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index 06b61bd8aa..08d5da0fe4 100644
--- a/runtime/ftplugin/man.vim
+++ b/runtime/ftplugin/man.vim
@@ -25,7 +25,6 @@ endif
setlocal buftype=nofile
setlocal noswapfile
setlocal bufhidden=hide
-setlocal nobuflisted
setlocal nomodified
setlocal readonly
setlocal nomodifiable
diff --git a/runtime/plugin/man.vim b/runtime/plugin/man.vim
index b5b118fbe3..12762f1854 100644
--- a/runtime/plugin/man.vim
+++ b/runtime/plugin/man.vim
@@ -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