{"action":"created","issue":{"url":"https://api.github.com/repos/vimwiki/vimwiki/issues/510","repository_url":"https://api.github.com/repos/vimwiki/vimwiki","labels_url":"https://api.github.com/repos/vimwiki/vimwiki/issues/510/labels{/name}","comments_url":"https://api.github.com/repos/vimwiki/vimwiki/issues/510/comments","events_url":"https://api.github.com/repos/vimwiki/vimwiki/issues/510/events","html_url":"https://github.com/vimwiki/vimwiki/issues/510","id":330409011,"node_id":"MDU6SXNzdWUzMzA0MDkwMTE=","number":510,"title":"Not using the path for the wiki it used to use & asks to create a new folder","user":{"login":"ahmedelgabri","id":63876,"node_id":"MDQ6VXNlcjYzODc2","avatar_url":"https://avatars0.githubusercontent.com/u/63876?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmedelgabri","html_url":"https://github.com/ahmedelgabri","followers_url":"https://api.github.com/users/ahmedelgabri/followers","following_url":"https://api.github.com/users/ahmedelgabri/following{/other_user}","gists_url":"https://api.github.com/users/ahmedelgabri/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedelgabri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedelgabri/subscriptions","organizations_url":"https://api.github.com/users/ahmedelgabri/orgs","repos_url":"https://api.github.com/users/ahmedelgabri/repos","events_url":"https://api.github.com/users/ahmedelgabri/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedelgabri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-07T19:41:30Z","updated_at":"2018-06-08T00:00:09Z","closed_at":null,"author_association":"NONE","body":"This is my current settings\r\n\r\n```vim\r\nlet g:vimwiki_folding = 'expr'\r\nlet g:vimwiki_dir_link = 'index'\r\nlet g:vimwiki_toc_header = 'Table of contents'\r\nlet g:vimwiki_list = [{\r\n      \\ 'path': '/Users/' . $USER . '/path/to/vimwiki/',\r\n      \\ 'diary_rel_path': 'Diary/',\r\n      \\ 'diary_index': 'index',\r\n      \\ 'syntax': 'markdown',\r\n      \\ 'ext': '.md',\r\n      \\ 'auto_toc': 1,\r\n      \\}]\r\n```\r\n\r\nWhich was already working, I ran `PlugUpdate` a couple of days ago & since then everytime I run `:VimwikiIndex` it will ask if I want to create a new folder at `~/vimwiki`? but checking the docs seems like this should work, but it's not."},"comment":{"url":"https://api.github.com/repos/vimwiki/vimwiki/issues/comments/395602700","html_url":"https://github.com/vimwiki/vimwiki/issues/510#issuecomment-395602700","issue_url":"https://api.github.com/repos/vimwiki/vimwiki/issues/510","id":395602700,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTYwMjcwMA==","user":{"login":"ahmedelgabri","id":63876,"node_id":"MDQ6VXNlcjYzODc2","avatar_url":"https://avatars0.githubusercontent.com/u/63876?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmedelgabri","html_url":"https://github.com/ahmedelgabri","followers_url":"https://api.github.com/users/ahmedelgabri/followers","following_url":"https://api.github.com/users/ahmedelgabri/following{/other_user}","gists_url":"https://api.github.com/users/ahmedelgabri/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedelgabri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedelgabri/subscriptions","organizations_url":"https://api.github.com/users/ahmedelgabri/orgs","repos_url":"https://api.github.com/users/ahmedelgabri/repos","events_url":"https://api.github.com/users/ahmedelgabri/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedelgabri/received_events","type":"User","site_admin":false},"created_at":"2018-06-08T00:00:09Z","updated_at":"2018-06-08T00:00:09Z","author_association":"NONE","body":"> Hm, strange. Does it really want to create the new folder `~/ahmed/vimwiki` or is it rather `~/vimwiki`? \r\n\r\nSorry, yeah it wants to create `~/vimwiki`.\r\n\r\n> What happens if you instead of `:VimwikiIndex` type `:call vimwiki#base#goto_index(1)`?\r\n\r\nSame wants to create `~/vimwiki`.\r\n\r\n> Can you post the output of `:echo vimwiki#vars#get_wikilocal('path', 0)`?\r\n\r\n`/Users/ahmed/vimwiki`\r\n\r\n---\r\n\r\nOk, I dunno what changed exactly but I usually put plugin settings in `~/.vim/after/plugin/<plugin>.vim`. So in this case, it's `~/.vim/after/plugin/vimwiki.vim` & this was working fine, for some reason this doesn't work anymore. Because if I move my settings to my `.vimrc`/`init.vim` it works fine.\r\n\r\n"}}
{"actor":{"display_login":"ahmedelgabri"}}