aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.c
diff options
context:
space:
mode:
authorMichael Ennen <mike.ennen@gmail.com>2016-12-19 20:09:07 -0700
committerMichael Ennen <mike.ennen@gmail.com>2017-02-14 17:38:19 -0700
commitef8701610baa18ecf2568990eab4ecf02ca8f6c1 (patch)
tree778d37810fc23bac397f2a426de746119dad4450 /src/nvim/regexp.c
parentbae8a19c63381c3f6c860bae75af3580d68bf3b3 (diff)
downloadrneovim-ef8701610baa18ecf2568990eab4ecf02ca8f6c1.tar.gz
rneovim-ef8701610baa18ecf2568990eab4ecf02ca8f6c1.tar.bz2
rneovim-ef8701610baa18ecf2568990eab4ecf02ca8f6c1.zip
Allow lambdas to be used with jobs, timers and dictwatchers.
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r--src/nvim/regexp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c
index 269e21936c..1cd334abcd 100644
--- a/src/nvim/regexp.c
+++ b/src/nvim/regexp.c
@@ -6444,7 +6444,8 @@ static int submatch_line_lbr;
/// Put the submatches in "argv[0]" which is a list passed into call_func() by
/// vim_regsub_both().
-static int fill_submatch_list(int argc, typval_T *argv, int argcount) {
+static int fill_submatch_list(int argc, typval_T *argv, int argcount)
+{
listitem_T *li;
int i;
char_u *s;