File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
pack/dist/opt/termdebug/plugin Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -2800,7 +2800,7 @@ getcmdcompltype() *getcmdcompltype()*
2800
2800
Return the type of the current command-line completion.
2801
2801
Only works when the command line is being edited, thus
2802
2802
requires use of | c_CTRL-\_e | or | c_CTRL-R_= | .
2803
- See | command-completion | for the return string.
2803
+ See | : command-completion| for the return string.
2804
2804
Also see | getcmdtype() | , | setcmdpos() | and | getcmdline() | .
2805
2805
Returns an empty string when completion is not defined.
2806
2806
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ modes.
105
105
command applies.
106
106
Use the <buffer> argument to remove buffer-local
107
107
mappings | :map-<buffer> |
108
- Warning: This also removes the default mappings.
108
+ Warning: This also removes the | default- mappings | .
109
109
110
110
:map | mapmode-nvo |
111
111
:nm[ap] | mapmode-n |
Original file line number Diff line number Diff line change 1
1
" Vim filetype plugin file
2
2
" Language: Abaqus finite element input file (www.abaqus.com)
3
3
" Maintainer: Carl Osterwisch <[email protected] >
4
- " Last Change: 2012 Apr 30
4
+ " Last Change: 2022 May 09
5
5
6
6
" Only do this when not done yet for this buffer
7
7
if exists (" b:did_ftplugin" ) | finish | endif
@@ -86,11 +86,11 @@ let b:undo_ftplugin .= "|unmap <buffer> [[|unmap <buffer> ]]"
86
86
\ . " |unmap <buffer> <LocalLeader><LocalLeader>"
87
87
88
88
" Undo must be done in nocompatible mode for <LocalLeader>.
89
- let b: undo_ftplugin = " let s :cpo_save = &cpoptions|"
89
+ let b: undo_ftplugin = " let b :cpo_save = &cpoptions|"
90
90
\ . " set cpoptions&vim|"
91
91
\ . b: undo_ftplugin
92
- \ . " |let &cpoptions = s :cpo_save"
93
- \ . " |unlet s :cpo_save"
92
+ \ . " |let &cpoptions = b :cpo_save"
93
+ \ . " |unlet b :cpo_save"
94
94
95
95
" Restore saved compatibility options
96
96
let &cpoptions = s: cpo_save
Original file line number Diff line number Diff line change 2
2
"
3
3
" Author: Bram Moolenaar
4
4
" Copyright: Vim license applies, see ":help license"
5
- " Last Change: 2022 May 04
5
+ " Last Change: 2022 May 09
6
6
"
7
7
" WORK IN PROGRESS - The basics works stable, more to come
8
8
" Note: In general you need at least GDB 7.12 because this provides the
@@ -205,8 +205,8 @@ func s:CheckGdbRunning()
205
205
return ' ok'
206
206
endfunc
207
207
208
+ " Open a terminal window without a job, to run the debugged program in.
208
209
func s: StartDebug_term (dict )
209
- " Open a terminal window without a job, to run the debugged program in.
210
210
execute s: vertical ? ' vnew' : ' new'
211
211
let s: pty_job_id = termopen (' tail -f /dev/null;#gdb program' )
212
212
if s: pty_job_id == 0
@@ -365,8 +365,8 @@ func s:StartDebug_term(dict)
365
365
call s: StartDebugCommon (a: dict )
366
366
endfunc
367
367
368
+ " Open a window with a prompt buffer to run gdb in.
368
369
func s: StartDebug_prompt (dict )
369
- " Open a window with a prompt buffer to run gdb in.
370
370
if s: vertical
371
371
vertical new
372
372
else
You can’t perform that action at this time.
0 commit comments