jceb / vim-orgmode

Text outlining and task management for Vim based on Emacs' Org-Mode
http://www.vim.org/scripts/script.php?script_id=3642
Other
3.1k stars 266 forks source link

Tag completion broken with python3 #330

Closed melhakim closed 4 years ago

melhakim commented 4 years ago

When running on python3 tag completion breaks with following error message:

Tags: Error detected while processing :
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "~/.vim/bundle/vim-orgmode/ftplugin/orgmode/_vim.py", line 61, in r
    res = f(*args, **kwargs)
  File "~/.vim/bundle/vim-orgmode/ftplugin/orgmode/plugins/TagsProperties.py", line 89, in set_tags
    res = vim.eval(u'input("Tags: ", "", "customlist,Org_complete_tags")')
vim.error: Vim(python):E319: Sorry, the command is not available in this version: python << EOF

This is because this line could be a symbolic link to python2.

I will open a PR to solve this issue.