mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +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
|
" Always open a file read-only instead of showing the ATTENTION
|
||||||
" prompt, since it is unlikely we want to edit the file.
|
" prompt, since it is unlikely we want to edit the file.
|
||||||
" The file may be changed but not saved, warn for that.
|
" The file may be changed but not saved, warn for that.
|
||||||
au SwapExists * echohl WarningMsg
|
au SwapExists * echohl WarningMsg
|
||||||
\ | echo 'Warning: file is being edited elsewhere'
|
\ | echo 'Warning: file is being edited elsewhere'
|
||||||
\ | echohl None
|
\ | echohl None
|
||||||
\ | let v:swapchoice = 'o'
|
\ | let v:swapchoice = 'o'
|
||||||
augroup END
|
augroup END
|
||||||
if &modified
|
if &modified
|
||||||
|
Reference in New Issue
Block a user