8000 Error in ftplugin\vimwiki.vim when opening wiki page · Issue #176 · vimwiki/vimwiki · GitHub
[go: up one dir, main page]

Skip to content

Error in ftplugin\vimwiki.vim when opening wiki page #176

@OISumeko

Description

@OISumeko

OS: Windows 7 x64
Vim 7.4, official 32-bit GUI distribution
vimwiki updated to commit 3bd3d9b

I have an environment variable %GDRIVE% set up to point to my google drive directory located at C:\Users\Cameron Grout\Google Drive\. In my vimrc, I have the vimwiki configuration:

let g:vimwiki_list = [{'path': '$GDRIVE\\Documents\\vimwiki\\', 'index': 'main', 'auto_toc': 1, 'auto_export': 1}]

This path correctly expands, and my wiki files appear where I expect them to be. However, when opening a wiki file or navigating through wiki links, I get the error:

Error detected while processing C:\Users\Cameron Grout\vimfiles\bundle\vimwiki\ftplugin\vimwiki.vim
line   34:
E518: Unknown option: Grout\Google

This error can be dismissed and everything seems to function normally, but it is a bit frustrating having this pop up every time I change files. As a workaround, I added the junction C:\GDrive <==> C:\Users\Cameron Grout\Google Drive\ which resolves the issue, but I'd prefer not to have to hardlink directories on all my machines. Any chance that handling paths with spaces is an easy fix here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0