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

Issue when grand-parent folder contains a space #274

Closed
sgoodgrove opened this issue Dec 15, 2016 · 3 comments
Closed

Issue when grand-parent folder contains a space #274

sgoodgrove opened this issue Dec 15, 2016 · 3 comments

Comments

@sgoodgrove
Copy link

I'm using Gvim on Windows and when I try to use a wiki where the "grand parent" folder contains a space.

e.g. When my wiki is stored in C:\Users\MyUser\Desktop\Grand Parent\Parent\index.wiki

I get the following message in Gvim

Error detected while processing C:\Users\stevego\vimfiles\bundle\vimwiki\ftplugin\vimwiki.vim:
line   34:
E518: Unknown option: Parent

If I change the following line

exe "setlocal tags+=" . vimwiki#tags#metadata_file_path()

to

exe "setlocal tags+=" . fnameescape(vimwiki#tags#metadata_file_path())

The error message goes away and tags appears to get set correctly.

@sgoodgrove
Copy link
Author

Incidentally #48 appears to be the closest existing ticket I can see. Though #48 isn't an issue for me, I wonder if that one is already resolved?

@sgoodgrove
Copy link
Author

Ignore this, I can see this is fixed in the repository already. I will update my local copy.

@sgoodgrove
Copy link
Author

#176

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

1 participant