Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

permissions check when determining indexfiledir fails on ~ #2

Closed
pbrisbin opened this issue May 10, 2011 · 1 comment
Closed

permissions check when determining indexfiledir fails on ~ #2

pbrisbin opened this issue May 10, 2011 · 1 comment

Comments

@pbrisbin
Copy link
Contributor

In the help doc, the example is given:

:let g:haddock_indexfiledir="~/.vim/"

At least on my system, vim does not correctly interpret the ~ in filewriteable() and it thinks "~/.vim" is not writable. Therefore, the index ends up placed in my $HOME (fallback).

I fixed this by simply specifying the full path "/home/me/.vim" in my .vimrc.

I'd ask that you change the doc, or do some sort of ~ substitution before calling filewriteable() to determine where to place the index.

Thanks

@pbrisbin
Copy link
Contributor Author

Closing since I think this is a mirror and not the right place to report issues anyway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant