diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-09-16 14:58:05 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-09-16 14:58:05 -0300 |
commit | 36d3a7dc78181cd865f9e5a592efc77978bd1cb8 (patch) | |
tree | 2e8dc7e2240954fd829230a7c6e0109696f06f59 /runtime/plugin/python_setup.vim | |
parent | 3b7b79e37d3479633701ad1d2ea4912d5c17c93b (diff) | |
parent | 0669c5c0b13442943d1d4d9b0ec43b3f89b33afe (diff) | |
download | rneovim-36d3a7dc78181cd865f9e5a592efc77978bd1cb8.tar.gz rneovim-36d3a7dc78181cd865f9e5a592efc77978bd1cb8.tar.bz2 rneovim-36d3a7dc78181cd865f9e5a592efc77978bd1cb8.zip |
Merge PR #1185 'Some fixes and missing changes'
Diffstat (limited to 'runtime/plugin/python_setup.vim')
-rw-r--r-- | runtime/plugin/python_setup.vim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/plugin/python_setup.vim b/runtime/plugin/python_setup.vim index 8f3cb08063..db8c6e3251 100644 --- a/runtime/plugin/python_setup.vim +++ b/runtime/plugin/python_setup.vim @@ -29,9 +29,8 @@ endif " Execute python, import neovim and print a string. If import_result matches " the printed string, we can probably start the host -let s:import_result = substitute(system( - \ s:python_interpreter .' -c "import neovim; print \"ok\""'), - \ '^[\s\n]*\(ok\)[\s\n]*$', '\1', '') +let s:import_result = system(s:python_interpreter . + \ ' -c "import neovim, sys; sys.stdout.write(\"ok\")"') if s:import_result != 'ok' finish endif |