qqzsxyz / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 0 forks source link

vim -c VimwikiMakeDiaryNote doesn't load options correctly. #309

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using the current dev version. When I issue the command 
':VimwikiMakeDiaryNote' from within vim everything is fine. The problem only 
exists if I launch it from a commandline via. vim -c VimwikiMakeDiaryNote. 
These are the errors that show up.

Error detected while processing function 
vimwiki#diary#make_note..vimwiki#base#open_link..vimwiki#base#resolve_scheme:
line   63:
E121: Undefined variable: g:vimwiki_current_path
E15: Invalid expression: g:vimwiki_current_path
line   64:
E121: Undefined variable: g:vimwiki_current_ext
E15: Invalid expression: g:vimwiki_current_ext
line   66:
E121: Undefined variable: g:vimwiki_current_diary_rel_path
E15: Invalid expression: g:vimwiki_current_diary_rel_path

Original issue reported on code.google.com by deathofs...@gmail.com on 13 May 2012 at 2:36

GoogleCodeExporter commented 8 years ago
Thx!

Stuart, do we really need that caching? :)

Original comment by habamax on 13 May 2012 at 3:15

GoogleCodeExporter commented 8 years ago
Could you check if it works for you now?

Original comment by habamax on 13 May 2012 at 3:44

GoogleCodeExporter commented 8 years ago
Yeah it's fixed!

Original comment by deathofs...@gmail.com on 13 May 2012 at 4:36