mirror of
https://github.com/neovim/neovim.git
synced 2026-04-23 15:55:36 +00:00
Don't attempt swapfiles for man pages
This is because we now use :tag to open a man page, which attempts to open a swap file for a path under man://...
This commit is contained in:
@@ -150,6 +150,7 @@ endfunction
|
||||
function! s:put_page(page) abort
|
||||
setlocal modifiable
|
||||
setlocal noreadonly
|
||||
setlocal noswapfile
|
||||
silent keepjumps %delete _
|
||||
silent put =a:page
|
||||
while getline(1) =~# '^\s*$'
|
||||
|
||||
Reference in New Issue
Block a user