vim-patch:19968fc4ec2c

runtime(termdebug): re-indent lines (vim/vim#12857)

19968fc4ec

Co-authored-by: Shane-XB-Qian <shane.qian@foxmail.com>
This commit is contained in:
Sean Dewar 2023-08-21 10:46:06 +01:00
parent 464472b4f7
commit ec97128826
No known key found for this signature in database
GPG Key ID: 08CC2C83AD41B581

View File

@ -1637,9 +1637,9 @@ func s:HandleCursor(msg)
" prompt, since it is unlikely we want to edit the file.
" The file may be changed but not saved, warn for that.
au SwapExists * echohl WarningMsg
\ | echo 'Warning: file is being edited elsewhere'
\ | echohl None
\ | let v:swapchoice = 'o'
\ | echo 'Warning: file is being edited elsewhere'
\ | echohl None
\ | let v:swapchoice = 'o'
augroup END
if &modified
" TODO: find existing window