summaryrefslogtreecommitdiffstats
path: root/runtime/pack
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-29 21:55:35 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-29 21:55:35 +0200
commit89a9c159f23fb7b3e24e6d09068adfc24a73afcb (patch)
treeffc62c1104f8222091cf262a37dbb52bf01f5a61 /runtime/pack
parent6e82351130ddb8d13cf3748b47f07cae77886fc7 (diff)
Update runtime files
Diffstat (limited to 'runtime/pack')
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index 3b9002a58a..a7b6953d0c 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: 2021 Aug 06
+" Last Change: 2021 Aug 23
"
" WORK IN PROGRESS - Only the basics work
" Note: On MS-Windows you need a recent version of gdb. The one included with
@@ -327,6 +327,10 @@ func s:StartDebug_term(dict)
call s:SendCommand('set pagination off')
call job_setoptions(term_getjob(s:gdbbuf), {'exit_cb': function('s:EndTermDebug')})
+
+ " Set the filetype, this can be used to add mappings.
+ set filetype=termdebug
+
call s:StartDebugCommon(a:dict)
endfunc