Skip to content

Commit e08f10a

Browse files
64-bitmanzeertzjqh-east
authored andcommitted
patch 9.1.1224: cannot :put while keeping indent
Problem: cannot :put while keeping indent (Peter Aronoff) Solution: add the :iput ex command (64-bitman) fixes: #16225 closes: #16886 Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: 64-bitman <60551350+64-bitman@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 11ab02c commit e08f10a

19 files changed

Lines changed: 324 additions & 83 deletions

runtime/doc/change.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 9.1. Last change: 2024 Dec 15
1+
*change.txt* For Vim version 9.1. Last change: 2025 Mar 18
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1149,6 +1149,11 @@ inside of strings can change! Also see 'softtabstop' option. >
11491149
:[line]pu[t]! [x] Put the text [from register x] before [line] (default
11501150
current line).
11511151

1152+
*:ip* *:iput*
1153+
:[line]ip[ut] [x] like |:put|, but adjust indent to the current line
1154+
1155+
:[line]ip[ut]! [x] like |:put|!, but adjust indent to the current line
1156+
11521157
["x]]p or *]p* *]<MiddleMouse>*
11531158
["x]]<MiddleMouse> Like "p", but adjust the indent to the current line.
11541159
Using the mouse only works when 'mouse' contains 'n'

runtime/doc/index.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 9.1. Last change: 2025 Jan 03
1+
*index.txt* For Vim version 9.1. Last change: 2025 Mar 18
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1400,6 +1400,8 @@ tag command action ~
14001400
|:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode
14011401
|:intro| :int[ro] print the introductory message
14021402
|:interface| :interface start of an interface declaration
1403+
|:iput| :ip[ut] like |:put|, but adjust the indent to the
1404+
current line
14031405
|:isearch| :is[earch] list one line where identifier matches
14041406
|:isplit| :isp[lit] split window and jump to definition of
14051407
identifier

runtime/doc/tags

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2710,6 +2710,8 @@ $quote eval.txt /*$quote*
27102710
:insert insert.txt /*:insert*
27112711
:interface vim9class.txt /*:interface*
27122712
:intro starting.txt /*:intro*
2713+
:ip change.txt /*:ip*
2714+
:iput change.txt /*:iput*
27132715
:is tagsrch.txt /*:is*
27142716
:isearch tagsrch.txt /*:isearch*
27152717
:isp tagsrch.txt /*:isp*

runtime/doc/version9.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*version9.txt* For Vim version 9.1. Last change: 2025 Mar 15
1+
*version9.txt* For Vim version 9.1. Last change: 2025 Mar 18
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41704,6 +41704,10 @@ Highlighting: ~
4170441704
Commands: ~
4170541705

4170641706
|[r| and |]r| to move the cursor to previous/next rare word
41707+
41708+
Ex-Commands: ~
41709+
41710+
|:iput| like |:put| but adjust indent
4170741711
|:pbuffer| Edit buffer [N] from the buffer list in the preview
4170841712
window
4170941713

runtime/syntax/vim.vim

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Language: Vim script
33
" Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com>
44
" Doug Kearns <dougkearns@gmail.com>
5-
" Last Change: 2025 Mar 17
5+
" Last Change: 2025 Mar 18
66
" Former Maintainer: Charles E. Campbell
77

88
" DO NOT CHANGE DIRECTLY.
@@ -34,11 +34,11 @@ syn cluster vimCommentGroup contains=vimTodo,@Spell
3434
" regular vim commands {{{2
3535
" GEN_SYN_VIM: vimCommand normal, START_STR='syn keyword vimCommand contained', END_STR='nextgroup=vimBang'
3636
syn keyword vimCommand contained abo[veleft] al[l] ar[gs] arga[dd] argd[elete] argdo argded[upe] arge[dit] argg[lobal] argl[ocal] argu[ment] as[cii] b[uffer] bN[ext] ba[ll] bad[d] balt bd[elete] bel[owright] bf[irst] bl[ast] bm[odified] bn[ext] bo[tright] bp[revious] br[ewind] brea[k] breaka[dd] breakd[el] breakl[ist] bro[wse] buffers bufd[o] bun[load] bw[ipeout] c[hange] cN[ext] cNf[ile] cabo[ve] cad[dbuffer] cadde[xpr] caddf[ile] caf[ter] cb[uffer] cbe[fore] cbel[ow] cbo[ttom] cc ccl[ose] cd cdo ce[nter] cex[pr] cf[ile] cfd[o] cfir[st] cg[etfile] cgetb[uffer] cgete[xpr] chd[ir] changes che[ckpath] checkt[ime] chi[story] cl[ist] cla[st] clo[se] cle[arjumps] cn[ext] cnew[er] cnf[ile] co[py] col[der] colo[rscheme] com[mand] comc[lear] comp[iler] con[tinue] conf[irm] nextgroup=vimBang
37-
syn keyword vimCommand contained cons[t] cope[n] cp[revious] cpf[ile] cq[uit] cr[ewind] cs[cope] cst[ag] cw[indow] d[elete] delm[arks] deb[ug] defc[ompile] defe[r] delf[unction] di[splay] dif[fupdate] diffg[et] diffo[ff] diffp[atch] diffpu[t] diffs[plit] difft[his] dig[raphs] disa[ssemble] dj[ump] dli[st] dr[op] ds[earch] dsp[lit] e[dit] ea[rlier] el[se] em[enu] en[dif] endfo[r] endt[ry] endw[hile] ene[w] ev[al] ex exi[t] exu[sage] f[ile] files filet[ype] filt[er] fin[d] fina[lly] fini[sh] fir[st] fix[del] fo[ld] foldc[lose] foldd[oopen] folddoc[losed] foldo[pen] g[lobal] go[to] gr[ep] grepa[dd] gu[i] gv[im] h[elp] helpc[lose] helpf[ind] helpg[rep] helpt[ags] ha[rdcopy] hi[ghlight] hid[e] his[tory] hor[izontal] ij[ump] il[ist] imp[ort] int[ro] is[earch] isp[lit] nextgroup=vimBang
38-
syn keyword vimCommand contained j[oin] ju[mps] k kee[pmarks] keepj[umps] keepp[atterns] keepa[lt] l[ist] lN[ext] lNf[ile] la[st] lab[ove] lan[guage] lad[dexpr] laddb[uffer] laddf[ile] laf[ter] lat[er] lb[uffer] lbe[fore] lbel[ow] lbo[ttom] lc[d] lch[dir] lcl[ose] lcs[cope] ld[o] le[ft] lefta[bove] lex[pr] leg[acy] lf[ile] lfd[o] lfir[st] lg[etfile] lgetb[uffer] lgete[xpr] lgr[ep] lgrepa[dd] lh[elpgrep] lhi[story] ll lla[st] lli[st] lmak[e] lne[xt] lnew[er] lnf[ile] lo[adview] loc[kmarks] lockv[ar] lol[der] lop[en] lp[revious] lpf[ile] lr[ewind] lt[ag] lua luad[o] luaf[ile] lv[imgrep] lvimgrepa[dd] lw[indow] ls m[ove] ma[rk] mak[e] marks menut[ranslate] mes[sages] mk[exrc] mks[ession] mksp[ell] mkv[imrc] mkvie[w] mod[e] mz[scheme] mzf[ile] n[ext] nb[key] nbc[lose] nextgroup=vimBang
39-
syn keyword vimCommand contained nbs[tart] noa[utocmd] noh[lsearch] nos[wapfile] nu[mber] o[pen] ol[dfiles] on[ly] opt[ions] ow[nsyntax] p[rint] pa[ckadd] packl[oadall] pb[uffer] pc[lose] pe[rl] perld[o] ped[it] po[p] pp[op] pre[serve] prev[ious] pro[mptfind] promptr[epl] prof[ile] profd[el] ps[earch] pt[ag] ptN[ext] ptf[irst] ptj[ump] ptl[ast] ptn[ext] ptp[revious] ptr[ewind] pts[elect] pu[t] pw[d] py[thon] pyd[o] pyf[ile] py3 py3d[o] python3 py3f[ile] pyx pyxd[o] pythonx pyxf[ile] q[uit] quita[ll] qa[ll] r[ead] rec[over] red[o] redi[r] redr[aw] redraws[tatus] redrawt[abline] reg[isters] res[ize] ret[ab] rew[ind] ri[ght] rightb[elow] ru[ntime] rub[y] rubyd[o] rubyf[ile] rund[o] rv[iminfo] sN[ext] sa[rgument] sal[l] san[dbox] sav[eas] sb[uffer] sbN[ext] sba[ll] nextgroup=vimBang
40-
syn keyword vimCommand contained sbf[irst] sbl[ast] sbm[odified] sbn[ext] sbp[revious] sbr[ewind] scr[iptnames] scripte[ncoding] scriptv[ersion] scs[cope] setf[iletype] sf[ind] sfir[st] sh[ell] sim[alt] sig[n] sil[ent] sla[st] sn[ext] so[urce] sor[t] sp[lit] spe[llgood] spelld[ump] spelli[nfo] spellr[epall] spellra[re] spellu[ndo] spellw[rong] spr[evious] sre[wind] st[op] sta[g] star[tinsert] startg[replace] startr[eplace] stopi[nsert] stj[ump] sts[elect] sun[hide] sus[pend] sv[iew] sw[apname] synti[me] sync[bind] smi[le] t tN[ext] ta[g] tags tab tabc[lose] tabd[o] tabe[dit] tabf[ind] tabfir[st] tabm[ove] tabl[ast] tabn[ext] tabnew tabo[nly] tabp[revious] tabN[ext] tabr[ewind] tabs tc[d] tch[dir] tcl tcld[o] tclf[ile] te[aroff] ter[minal] tf[irst] tj[ump] tl[ast] nextgroup=vimBang
41-
syn keyword vimCommand contained tn[ext] to[pleft] tp[revious] tr[ewind] try ts[elect] u[ndo] undoj[oin] undol[ist] unh[ide] unlo[ckvar] uns[ilent] up[date] v[global] ve[rsion] verb[ose] vert[ical] vi[sual] vie[w] vim[grep] vimgrepa[dd] vim9[cmd] viu[sage] vne[w] vs[plit] w[rite] wN[ext] wa[ll] wi[nsize] winc[md] wind[o] winp[os] wn[ext] wp[revious] wq wqa[ll] wu[ndo] wv[iminfo] x[it] xa[ll] xr[estore] y[ank] z dl dell delel deletl deletel dp dep delp delep deletp deletep a i nextgroup=vimBang
37+
syn keyword vimCommand contained cons[t] cope[n] cp[revious] cpf[ile] cq[uit] cr[ewind] cs[cope] cst[ag] cw[indow] d[elete] delm[arks] deb[ug] defc[ompile] defe[r] delf[unction] di[splay] dif[fupdate] diffg[et] diffo[ff] diffp[atch] diffpu[t] diffs[plit] difft[his] dig[raphs] disa[ssemble] dj[ump] dli[st] dr[op] ds[earch] dsp[lit] e[dit] ea[rlier] el[se] em[enu] en[dif] endfo[r] endt[ry] endw[hile] ene[w] ev[al] ex exi[t] exu[sage] f[ile] files filet[ype] filt[er] fin[d] fina[lly] fini[sh] fir[st] fix[del] fo[ld] foldc[lose] foldd[oopen] folddoc[losed] foldo[pen] g[lobal] go[to] gr[ep] grepa[dd] gu[i] gv[im] h[elp] helpc[lose] helpf[ind] helpg[rep] helpt[ags] ha[rdcopy] hi[ghlight] hid[e] his[tory] hor[izontal] ij[ump] il[ist] imp[ort] int[ro] ip[ut] is[earch] nextgroup=vimBang
38+
syn keyword vimCommand contained isp[lit] j[oin] ju[mps] k kee[pmarks] keepj[umps] keepp[atterns] keepa[lt] l[ist] lN[ext] lNf[ile] la[st] lab[ove] lan[guage] lad[dexpr] laddb[uffer] laddf[ile] laf[ter] lat[er] lb[uffer] lbe[fore] lbel[ow] lbo[ttom] lc[d] lch[dir] lcl[ose] lcs[cope] ld[o] le[ft] lefta[bove] lex[pr] leg[acy] lf[ile] lfd[o] lfir[st] lg[etfile] lgetb[uffer] lgete[xpr] lgr[ep] lgrepa[dd] lh[elpgrep] lhi[story] ll lla[st] lli[st] lmak[e] lne[xt] lnew[er] lnf[ile] lo[adview] loc[kmarks] lockv[ar] lol[der] lop[en] lp[revious] lpf[ile] lr[ewind] lt[ag] lua luad[o] luaf[ile] lv[imgrep] lvimgrepa[dd] lw[indow] ls m[ove] ma[rk] mak[e] marks menut[ranslate] mes[sages] mk[exrc] mks[ession] mksp[ell] mkv[imrc] mkvie[w] mod[e] mz[scheme] mzf[ile] n[ext] nb[key] nextgroup=vimBang
39+
syn keyword vimCommand contained nbc[lose] nbs[tart] noa[utocmd] noh[lsearch] nos[wapfile] nu[mber] o[pen] ol[dfiles] on[ly] opt[ions] ow[nsyntax] p[rint] pa[ckadd] packl[oadall] pb[uffer] pc[lose] pe[rl] perld[o] ped[it] po[p] pp[op] pre[serve] prev[ious] pro[mptfind] promptr[epl] prof[ile] profd[el] ps[earch] pt[ag] ptN[ext] ptf[irst] ptj[ump] ptl[ast] ptn[ext] ptp[revious] ptr[ewind] pts[elect] pu[t] pw[d] py[thon] pyd[o] pyf[ile] py3 py3d[o] python3 py3f[ile] pyx pyxd[o] pythonx pyxf[ile] q[uit] quita[ll] qa[ll] r[ead] rec[over] red[o] redi[r] redr[aw] redraws[tatus] redrawt[abline] reg[isters] res[ize] ret[ab] rew[ind] ri[ght] rightb[elow] ru[ntime] rub[y] rubyd[o] rubyf[ile] rund[o] rv[iminfo] sN[ext] sa[rgument] sal[l] san[dbox] sav[eas] sb[uffer] sbN[ext] nextgroup=vimBang
40+
syn keyword vimCommand contained sba[ll] sbf[irst] sbl[ast] sbm[odified] sbn[ext] sbp[revious] sbr[ewind] scr[iptnames] scripte[ncoding] scriptv[ersion] scs[cope] setf[iletype] sf[ind] sfir[st] sh[ell] sim[alt] sig[n] sil[ent] sla[st] sn[ext] so[urce] sor[t] sp[lit] spe[llgood] spelld[ump] spelli[nfo] spellr[epall] spellra[re] spellu[ndo] spellw[rong] spr[evious] sre[wind] st[op] sta[g] star[tinsert] startg[replace] startr[eplace] stopi[nsert] stj[ump] sts[elect] sun[hide] sus[pend] sv[iew] sw[apname] synti[me] sync[bind] smi[le] t tN[ext] ta[g] tags tab tabc[lose] tabd[o] tabe[dit] tabf[ind] tabfir[st] tabm[ove] tabl[ast] tabn[ext] tabnew tabo[nly] tabp[revious] tabN[ext] tabr[ewind] tabs tc[d] tch[dir] tcl tcld[o] tclf[ile] te[aroff] ter[minal] tf[irst] tj[ump] nextgroup=vimBang
41+
syn keyword vimCommand contained tl[ast] tn[ext] to[pleft] tp[revious] tr[ewind] try ts[elect] u[ndo] undoj[oin] undol[ist] unh[ide] unlo[ckvar] uns[ilent] up[date] v[global] ve[rsion] verb[ose] vert[ical] vi[sual] vie[w] vim[grep] vimgrepa[dd] vim9[cmd] viu[sage] vne[w] vs[plit] w[rite] wN[ext] wa[ll] wi[nsize] winc[md] wind[o] winp[os] wn[ext] wp[revious] wq wqa[ll] wu[ndo] wv[iminfo] x[it] xa[ll] xr[estore] y[ank] z dl dell delel deletl deletel dp dep delp delep deletp deletep a i nextgroup=vimBang
4242

4343
" Lower priority for _new_ to distinguish constructors from the command.
4444
syn match vimCommand contained "\<new\>(\@!"

src/ex_cmdidxs.h

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@ static const unsigned short cmdidxs1[26] =
1414
/* g */ 184,
1515
/* h */ 190,
1616
/* i */ 200,
17-
/* j */ 220,
18-
/* k */ 222,
19-
/* l */ 227,
20-
/* m */ 290,
21-
/* n */ 308,
22-
/* o */ 328,
23-
/* p */ 340,
24-
/* q */ 381,
25-
/* r */ 384,
26-
/* s */ 404,
27-
/* t */ 474,
28-
/* u */ 521,
29-
/* v */ 532,
30-
/* w */ 553,
31-
/* x */ 567,
32-
/* y */ 577,
33-
/* z */ 578
17+
/* j */ 221,
18+
/* k */ 223,
19+
/* l */ 228,
20+
/* m */ 291,
21+
/* n */ 309,
22+
/* o */ 329,
23+
/* p */ 341,
24+
/* q */ 382,
25+
/* r */ 385,
26+
/* s */ 405,
27+
/* t */ 475,
28+
/* u */ 522,
29+
/* v */ 533,
30+
/* w */ 554,
31+
/* x */ 568,
32+
/* y */ 578,
33+
/* z */ 579
3434
};
3535

3636
/*
@@ -49,7 +49,7 @@ static const unsigned char cmdidxs2[26][26] =
4949
/* f */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0 },
5050
/* g */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 4, 5, 0, 0, 0, 0 },
5151
/* h */ { 5, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
52-
/* i */ { 1, 0, 0, 0, 0, 3, 0, 0, 0, 4, 0, 5, 6, 0, 0, 0, 0, 0, 15, 0, 17, 0, 0, 0, 0, 0 },
52+
/* i */ { 1, 0, 0, 0, 0, 3, 0, 0, 0, 4, 0, 5, 6, 0, 0, 15, 0, 0, 16, 0, 18, 0, 0, 0, 0, 0 },
5353
/* j */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 },
5454
/* k */ { 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
5555
/* l */ { 3, 11, 15, 19, 20, 25, 28, 33, 0, 0, 0, 35, 38, 41, 45, 51, 0, 53, 62, 54, 55, 59, 61, 0, 0, 0 },
@@ -69,4 +69,4 @@ static const unsigned char cmdidxs2[26][26] =
6969
/* z */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
7070
};
7171

72-
static const int command_count = 595;
72+
static const int command_count = 596;

src/ex_cmds.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,9 @@ EXCMD(CMD_intro, "intro", ex_intro,
761761
EXCMD(CMD_interface, "interface", ex_class,
762762
EX_EXTRA|EX_CMDWIN|EX_LOCK_OK|EX_WHOLE|EX_EXPORT,
763763
ADDR_NONE),
764+
EXCMD(CMD_iput, "iput", ex_iput,
765+
EX_RANGE|EX_WHOLEFOLD|EX_BANG|EX_REGSTR|EX_TRLBAR|EX_ZEROR|EX_CMDWIN|EX_LOCK_OK|EX_MODIFY,
766+
ADDR_LINES),
764767
EXCMD(CMD_isearch, "isearch", ex_findpat,
765768
EX_BANG|EX_RANGE|EX_DFLALL|EX_WHOLEFOLD|EX_EXTRA|EX_CMDWIN|EX_LOCK_OK,
766769
ADDR_LINES),

src/ex_docmd.c

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ static void ex_winpos(exarg_T *eap);
231231
#endif
232232
static void ex_operators(exarg_T *eap);
233233
static void ex_put(exarg_T *eap);
234+
static void ex_iput(exarg_T *eap);
234235
static void ex_copymove(exarg_T *eap);
235236
static void ex_submagic(exarg_T *eap);
236237
static void ex_join(exarg_T *eap);
@@ -2372,8 +2373,8 @@ do_one_cmd(
23722373
goto doend;
23732374
}
23742375
#endif
2375-
if (valid_yank_reg(*ea.arg, (ea.cmdidx != CMD_put
2376-
&& !IS_USER_CMDIDX(ea.cmdidx))))
2376+
if (valid_yank_reg(*ea.arg, (!IS_USER_CMDIDX(ea.cmdidx)
2377+
&& ea.cmdidx != CMD_put && ea.cmdidx != CMD_iput)))
23772378
{
23782379
ea.regname = *ea.arg++;
23792380
#ifdef FEAT_EVAL
@@ -8520,6 +8521,25 @@ ex_put(exarg_T *eap)
85208521
PUT_LINE|PUT_CURSLINE);
85218522
}
85228523

8524+
/*
8525+
* ":iput".
8526+
*/
8527+
static void
8528+
ex_iput(exarg_T *eap)
8529+
{
8530+
// ":0iput" works like ":1iput!".
8531+
if (eap->line2 == 0)
8532+
{
8533+
eap->line2 = 1;
8534+
eap->forceit = TRUE;
8535+
}
8536+
curwin->w_cursor.lnum = eap->line2;
8537+
check_cursor_col();
8538+
do_put(eap->regname, NULL, eap->forceit ? BACKWARD : FORWARD, 1L,
8539+
PUT_LINE|PUT_CURSLINE
8540+
|PUT_FIXINDENT);
8541+
}
8542+
85238543
/*
85248544
* Handle ":copy" and ":move".
85258545
*/

src/proto/vim9cmds.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ char_u *compile_eval(char_u *arg, cctx_T *cctx);
2626
int get_defer_var_idx(cctx_T *cctx);
2727
char_u *compile_defer(char_u *arg_start, cctx_T *cctx);
2828
char_u *compile_mult_expr(char_u *arg, int cmdidx, long cmd_count, cctx_T *cctx);
29-
char_u *compile_put(char_u *arg, exarg_T *eap, cctx_T *cctx);
29+
char_u *compile_put(char_u *arg, exarg_T *eap, cctx_T *cctx, int fixindent);
3030
char_u *compile_exec(char_u *line_arg, exarg_T *eap, cctx_T *cctx);
3131
char_u *compile_script(char_u *line, cctx_T *cctx);
3232
char_u *compile_substitute(char_u *arg, exarg_T *eap, cctx_T *cctx);

src/proto/vim9instr.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ int generate_ECHO(cctx_T *cctx, int with_white, int count);
6868
int generate_MULT_EXPR(cctx_T *cctx, isntype_T isn_type, int count);
6969
int generate_ECHOWINDOW(cctx_T *cctx, int count, long time);
7070
int generate_SOURCE(cctx_T *cctx, int sid);
71-
int generate_PUT(cctx_T *cctx, int regname, linenr_T lnum);
71+
int generate_PUT(cctx_T *cctx, int regname, linenr_T lnum, int fixindent);
7272
int generate_LOCKUNLOCK(cctx_T *cctx, char_u *line, int is_arg);
7373
int generate_EXEC_copy(cctx_T *cctx, isntype_T isntype, char_u *line);
7474
int generate_EXEC(cctx_T *cctx, isntype_T isntype, char_u *str);

0 commit comments

Comments
 (0)