{"action":"created","issue":{"url":"https://api.github.com/repos/LucHermitte/local_vimrc/issues/9","repository_url":"https://api.github.com/repos/LucHermitte/local_vimrc","labels_url":"https://api.github.com/repos/LucHermitte/local_vimrc/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/LucHermitte/local_vimrc/issues/9/comments","events_url":"https://api.github.com/repos/LucHermitte/local_vimrc/issues/9/events","html_url":"https://github.com/LucHermitte/local_vimrc/issues/9","id":187620561,"number":9,"title":"tuning list statements seems not working well with vundle","user":{"login":"Qiguang","id":10783991,"avatar_url":"https://avatars.githubusercontent.com/u/10783991?v=3","gravatar_id":"","url":"https://api.github.com/users/Qiguang","html_url":"https://github.com/Qiguang","followers_url":"https://api.github.com/users/Qiguang/followers","following_url":"https://api.github.com/users/Qiguang/following{/other_user}","gists_url":"https://api.github.com/users/Qiguang/gists{/gist_id}","starred_url":"https://api.github.com/users/Qiguang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qiguang/subscriptions","organizations_url":"https://api.github.com/users/Qiguang/orgs","repos_url":"https://api.github.com/users/Qiguang/repos","events_url":"https://api.github.com/users/Qiguang/events{/privacy}","received_events_url":"https://api.github.com/users/Qiguang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-07T03:58:57Z","updated_at":"2016-11-07T07:23:32Z","closed_at":null,"body":"Hi, I am trying to use this cool plugin. every time I enter the directory which contain _vimrc_local.vim, vim asks me \"Do you want to recognize a local vimrc at \"/the/dir/_vimrc_local.vim\"?\". And I tried to add this directory to white list. I just did as the README.md file says. added\r\n\"**call lh#path#munge(g:local_vimrc_options.whitelist, $HOME.'/my/dir')**\" to my .vimrc in the position after the plugins(LucHermitte/lh-vim-lib, LucHermitte/local_vimrc) loaded by vundle. but every time I launch vim, it prompts \r\n**\"Error detected while processing /home/robin/.vim/vimrc:\r\nline  129:\r\nE121: Undefined variable: g:local_vimrc_options\r\nE116: Invalid arguments for function lh#path#munge\"**\r\nin my .vimrc, the plugin loading statements of vundle is \r\n\"\r\n**Plugin 'LucHermitte/lh-vim-lib'\r\nPlugin 'LucHermitte/local_vimrc'**\r\n\"\r\nis this an issue or I did some thing wrong?\r\nthanks."},"comment":{"url":"https://api.github.com/repos/LucHermitte/local_vimrc/issues/comments/258763889","html_url":"https://github.com/LucHermitte/local_vimrc/issues/9#issuecomment-258763889","issue_url":"https://api.github.com/repos/LucHermitte/local_vimrc/issues/9","id":258763889,"user":{"login":"LucHermitte","id":501871,"avatar_url":"https://avatars.githubusercontent.com/u/501871?v=3","gravatar_id":"","url":"https://api.github.com/users/LucHermitte","html_url":"https://github.com/LucHermitte","followers_url":"https://api.github.com/users/LucHermitte/followers","following_url":"https://api.github.com/users/LucHermitte/following{/other_user}","gists_url":"https://api.github.com/users/LucHermitte/gists{/gist_id}","starred_url":"https://api.github.com/users/LucHermitte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucHermitte/subscriptions","organizations_url":"https://api.github.com/users/LucHermitte/orgs","repos_url":"https://api.github.com/users/LucHermitte/repos","events_url":"https://api.github.com/users/LucHermitte/events{/privacy}","received_events_url":"https://api.github.com/users/LucHermitte/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T07:23:32Z","updated_at":"2016-11-07T07:23:32Z","body":"Hi,\n\n> is this a issue or I did some thing wrong?\n> thanks.\n\nNo this is something I need to document/improve.\n\nBefore defining the lists in your .vimrc, add a first\n\n```vim\n\" either\nlet g:local_vimrc_options = get(g:, 'local_vimrc_options', {})\n\n\" or the equivalent (here)\nruntime plugin/let.vim\nLetIfUndef g:local_vimrc_options = {}\n```\n\n\nIt should work better after that.\n"}}
{"actor":{"display_login":"LucHermitte"}}