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

View File

@@ -1637,9 +1637,9 @@ func s:HandleCursor(msg)
" Always open a file read-only instead of showing the ATTENTION
" 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
au SwapExists * echohl WarningMsg
\ | echo 'Warning: file is being edited elsewhere'
\ | echohl None
\ | let v:swapchoice = 'o'
augroup END
if &modified