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

E117: Unknown function: <SNR>254_ReadTodoKeywords #312

Closed Bingbingyan closed 3 years ago

Bingbingyan commented 5 years ago

E117: Unknown function: 254_ReadTodoKeywords

macos 10.14.2 NVIM v0.3.1 python 3.7

image

Coffei commented 5 years ago

Seeing the same thing whenever I open orgmode doc in vim with this plugin.

Oddegamra commented 5 years ago

For me, this issue was caused by the vim-polyglot addon, which contains its own (at the moment broken - see sheerun/vim-polyglot#360) version of orgmode. Since that plugin also defines the g:loaded_org_syntax global, the function definition for ReadTodoKeywords is never executed.

Coffei commented 5 years ago

Took me a while to get back to this issue, but I confirm the above, it was vim-polyglot interfering. Adding org to g:polyglot_disabled solved the issue.

XVilka commented 4 years ago

Since it was removed from vim-polyglot, can you please confirm that issue had gone: https://github.com/sheerun/vim-polyglot/commit/288b0d2423e0338c6ed595bca33b7fe08f2ea5a8

Coffei commented 4 years ago

Yep, it seems to be gone. Updated polyglot, removed org from g:polyglot_disabled and all works fine. Thanks all!

Maltimore commented 3 years ago

Shouldn't this issue be closed then?