summaryrefslogtreecommitdiffstats
path: root/runtime/pack
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-06-23 13:04:20 +0100
committerBram Moolenaar <Bram@vim.org>2022-06-23 13:04:20 +0100
commit8cc5b559f70041361612b8a6a87922503b33baa6 (patch)
tree234c43ad039438825a0ed9b54539101e4b52538c /runtime/pack
parent180246cfd1a5842c538fa8a4a0b520f1d95c90c7 (diff)
Update runtime files
Diffstat (limited to 'runtime/pack')
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index a9acbb2717..87fb94b980 100644
--- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
+++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -2,7 +2,7 @@
"
" Author: Bram Moolenaar
" Copyright: Vim license applies, see ":help license"
-" Last Change: 2022 May 23
+" Last Change: 2022 Jun 22
"
" WORK IN PROGRESS - The basics works stable, more to come
" Note: In general you need at least GDB 7.12 because this provides the
@@ -1326,12 +1326,12 @@ func s:HandleCursor(msg)
echomsg 'different fname: "' .. expand('%:p') .. '" vs "' .. fnamemodify(fname, ':p') .. '"'
augroup Termdebug
" Always open a file read-only instead of showing the ATTENTION
- " prompt, since we are unlikely to 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.
au SwapExists * echohl WarningMsg
\ | echo 'Warning: file is being edited elsewhere'
\ | echohl None
- \ | let v:swapchoice = '0'
+ \ | let v:swapchoice = 'o'
augroup END
if &modified
" TODO: find existing window