vimwiki-backup / vimwiki

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

Using .txt file suffix #298

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm working with the dev version.

I set vimwiki to use .txt for the file suffix. When opening a .txt file that 
isn't in vimwiki's directory I receive this error:

Error detected while processing function 
<SNR>25_setup_buffer_enter..vimwiki#base#recall_wiki_state:
line    3:
E121: Undefined variable: g:vimwiki_current_keys
E116: Invalid arguments for function keys(g:vimwiki_current_keys)
E15: Invalid expression: keys(g:vimwiki_current_keys)

Original issue reported on code.google.com by deathofs...@gmail.com on 6 Apr 2012 at 12:51

GoogleCodeExporter commented 9 years ago
Thanks for noticing this ... it should be fixed with r454a67512b53.   Please 
let us know otherwise.

Original comment by stu.andrews on 7 Apr 2012 at 5:14

GoogleCodeExporter commented 9 years ago
I'm still getting this error:
Error detected while processing function 
<SNR>25_setup_buffer_enter..vimwiki#base#recall_wiki_state:
line    3:
E121: Undefined variable: g:vimwiki_current_keys
E116: Invalid arguments for function exists(g:vimwiki_current_keys)
E15: Invalid expression: !exists(g:vimwiki_current_keys)
line    6:
E121: Undefined variable: g:vimwiki_current_keys
E116: Invalid arguments for function keys(g:vimwiki_current_keys)

And now whenever I open a file for the wiki I get this:
"~/.vimwiki/index.txt" 89L, 1708C
Error detected while processing function 
<SNR>25_setup_buffer_enter..vimwiki#base#recall_wiki_state:
line    3:
E731: using Dictionary as a String

Original comment by deathofs...@gmail.com on 8 Apr 2012 at 11:09

GoogleCodeExporter commented 9 years ago
Could you try again with the current sources?

Original comment by habamax on 8 Apr 2012 at 12:29

GoogleCodeExporter commented 9 years ago
That was it!

Original comment by deathofs...@gmail.com on 8 Apr 2012 at 12:38

GoogleCodeExporter commented 9 years ago
Ok, thx!

Original comment by habamax on 8 Apr 2012 at 1:25