pearofducks/ansible-vim

UltiSnips generation fails

chauncey-garrett opened this issue · 3 comments

I get this when installing the snippets:

Traceback (most recent call last):
  File "generate.py", line 99, in <module>
    for document in get_documents():
  File "generate.py", line 17, in get_documents
    documentation = plugin_docs.get_docstring(os.path.join(root, f))[0]
TypeError: get_docstring() takes at least 2 arguments (1 given)

ansible is v2.5.

Can you try the fix-generate-against-2.5 branch?

I can confirm the fix in branch fix-generate-against-2.5 works for ansible v2.5.

Thanks @cyberang3l - much appreciated!