From 42a05130955829847e68c1af5add386596b697fd Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 19 Sep 2019 20:41:08 -0400 Subject: vim-patch:8.1.2058: function for ex command is named inconsistently Problem: Function for ex command is named inconsistently. Solution: Rename do_marks() to ex_marks(). https://github.com/vim/vim/commit/4bd782339e370bde82c2a8976df9f335cc12eba9 --- src/nvim/ex_cmds.lua | 2 +- src/nvim/mark.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua index 8c0d22809f..a709acd4ef 100644 --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -1632,7 +1632,7 @@ return { command='marks', flags=bit.bor(EXTRA, TRLBAR, CMDWIN), addr_type=ADDR_LINES, - func='do_marks', + func='ex_marks', }, { command='match', diff --git a/src/nvim/mark.c b/src/nvim/mark.c index e103d3cb55..e8f1651a6e 100644 --- a/src/nvim/mark.c +++ b/src/nvim/mark.c @@ -616,7 +616,7 @@ static char_u *mark_line(pos_T *mp, int lead_len) /* * print the marks */ -void do_marks(exarg_T *eap) +void ex_marks(exarg_T *eap) { char_u *arg = eap->arg; int i; -- cgit