yhat / vim-docstring

Fold your Python docstrings
19 stars 4 forks source link

Support of +python3 compilation flag in vim #2

Open dtrckd opened 8 years ago

dtrckd commented 8 years ago

Hi,

The plugin need +python option to work, hence it gives the following error:

 Error: Docstring requires vim compiled with +python

However, when vim has only the +python3 flag enabled, it doesn't work. Should the docstrings depend on the version of python ? If not, would it be a possibility to make the plugin work when only one of those flags (+python | +python3) is enabled.

Because vim packages in debian (vim-nox, vim-gtk etc) has only the python3 flag enabled, it will make the plugin work without recompiling vim. (at least on Debian...)

Thanks !

Benhgift commented 4 years ago

I only have +python3 with my vim version and it works great. This can also be closed out @Milly