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.12k stars 267 forks source link

Error on start #180

Closed mcepl closed 9 years ago

mcepl commented 9 years ago

I have installed vim-orgmode to my Pathogen bundle and opened a new ~/todo.org file. I got on start this error:

Error detected while processing /home/matej/archiv/knihovna/repos/vim-bundle/vim-o
rgmode/syntax/org.vim:
line  202:
E117: Unknown function: <SNR>92_ReadTodoKeywords

What's wrong with me? Do I miss some dependency?

jceb commented 9 years ago

Would you make sure that you have the following line in your vimrc?

filetype plugin indent on

mcepl commented 9 years ago

My ~/.vimrc is http://luther.ceplovi.cz/git/dotfiles.git/tree/vimrc

matej@mitmanek: ~$ grep 'filetype plugin indent on' ~/.vimrc
  filetype plugin indent on
matej@mitmanek: ~$
jceb commented 9 years ago

Whoops, you've probably set let g:loaded_org_syntax = 1 somewhere in your vimrc. This leads to the issue of a call of a non-existing function.

mcepl commented 9 years ago

Right, there was another copy of vim-orgmode in ~/.vim itself.