diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-03-29 21:07:56 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-03-29 21:07:56 -0300 |
commit | 960b9108c2928b6cf0adcabdb829d06996635211 (patch) | |
tree | ccae254cda1e902971d2689210d14d8f44ebc4b8 /src/nvim/main.c | |
parent | 2c7e8c38e0f483cf803eb225720cd11ae370ae75 (diff) | |
parent | b94f29004b8d74e80156853695a1aaeec857085d (diff) | |
download | rneovim-960b9108c2928b6cf0adcabdb829d06996635211.tar.gz rneovim-960b9108c2928b6cf0adcabdb829d06996635211.tar.bz2 rneovim-960b9108c2928b6cf0adcabdb829d06996635211.zip |
Merge PR #2247 'Refactor/enhance job api'
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 47bb2bc515..55935564b8 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -293,8 +293,8 @@ int main(int argc, char **argv) "matchstr(expand(\"<amatch>\"), " "'\\c\\mterm://\\%(.\\{-}//\\%(\\d\\+:\\)\\?\\)\\?\\zs.*'), " // capture the working directory - "get(matchlist(expand(\"<amatch>\"), " - "'\\c\\mterm://\\(.\\{-}\\)//'), 1, ''))"); + "{'cwd': get(matchlist(expand(\"<amatch>\"), " + "'\\c\\mterm://\\(.\\{-}\\)//'), 1, '')})"); /* Execute --cmd arguments. */ exe_pre_commands(¶ms); |