mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user