{"action":"opened","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1367","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1367/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1367/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1367/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1367","id":57001253,"number":1367,"title":"YCM gives wrong suggestions when typing inside curly brackets","user":{"login":"timfeirg","id":4319104,"avatar_url":"https://avatars.githubusercontent.com/u/4319104?v=3","gravatar_id":"","url":"https://api.github.com/users/timfeirg","html_url":"https://github.com/timfeirg","followers_url":"https://api.github.com/users/timfeirg/followers","following_url":"https://api.github.com/users/timfeirg/following{/other_user}","gists_url":"https://api.github.com/users/timfeirg/gists{/gist_id}","starred_url":"https://api.github.com/users/timfeirg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timfeirg/subscriptions","organizations_url":"https://api.github.com/users/timfeirg/orgs","repos_url":"https://api.github.com/users/timfeirg/repos","events_url":"https://api.github.com/users/timfeirg/events{/privacy}","received_events_url":"https://api.github.com/users/timfeirg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-09T08:23:36Z","updated_at":"2015-02-09T08:23:36Z","closed_at":null,"body":"# The problem\r\n\r\nYCM gives me wrong suggestions when I'm typing inside curly brackets, best illustrate with screenshots:\r\n\r\nIn the following screenshot, I was trying to type the word 'total_fee_list', inside a python dictionary, but YCM fail to suggest the word and fill the candidate list with other variable names **inside that python dictionary that doesn't actually match**.\r\n\r\n![1st](https://cloud.githubusercontent.com/assets/4319104/6102779/f1b88586-b076-11e4-91fe-35be0299cfcc.png)\r\n\r\nAnd if I type outside that dictionary, it worked.\r\n\r\n![2st](https://cloud.githubusercontent.com/assets/4319104/6102782/f764fe92-b076-11e4-8591-85802d3dfd31.png)\r\n\r\n# Some troubleshooting\r\n\r\nThis is my [vimrc](https://github.com/timfeirg/workspace-setup/blob/master/.vimrc), python-mode does some autocomplete so I disabled it, the problem persists.\r\n"}}