Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation for g:tmru#world.cache_var #31

Closed
blueyed opened this issue Jan 22, 2013 · 0 comments
Closed

Fix documentation for g:tmru#world.cache_var #31

blueyed opened this issue Jan 22, 2013 · 0 comments

Comments

@blueyed
Copy link
Contributor

blueyed commented Jan 22, 2013

The README mentions the following to restore filters across calls to :TRecentlyUsedFiles:

let g:tmru_world.cache_var = 'g:tmru_cache'
let g:tmru_world.restore_from_cache = ['filter']

This does not work for two reasons: it should be g:tmru#world and g:tmru#world needs to be accessed/read once, before it is available.

Please fix the documentation accordingly.

I am using the following now in ~/.vim/after/plugin/tmru.vim, but would like a solution where I could have it in ~/.vimrc directly:

let foo = g:tmru#world
let g:tmru#world.cache_var = 'g:tmru_cache' " used for g:tmru#world.restore_from_cache
unlet foo
@tomtom tomtom closed this as completed in 35326d0 Jan 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants