{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1413","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1413/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1413/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1413/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1413","id":63229870,"number":1413,"title":"The autocomplete menu closes on first letter for Erlang","user":{"login":"dani-h","id":5557301,"avatar_url":"https://avatars.githubusercontent.com/u/5557301?v=3","gravatar_id":"","url":"https://api.github.com/users/dani-h","html_url":"https://github.com/dani-h","followers_url":"https://api.github.com/users/dani-h/followers","following_url":"https://api.github.com/users/dani-h/following{/other_user}","gists_url":"https://api.github.com/users/dani-h/gists{/gist_id}","starred_url":"https://api.github.com/users/dani-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dani-h/subscriptions","organizations_url":"https://api.github.com/users/dani-h/orgs","repos_url":"https://api.github.com/users/dani-h/repos","events_url":"https://api.github.com/users/dani-h/events{/privacy}","received_events_url":"https://api.github.com/users/dani-h/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-20T13:34:17Z","updated_at":"2015-03-20T14:25:40Z","closed_at":null,"body":"I have the following settings in my .vimrc\r\n\r\n```\r\nlet g:ycm_semantic_triggers =  {\r\n      \\   'c' : ['->', '.'],\r\n      \\   'objc' : ['->', '.'],\r\n      \\   'ocaml' : ['.', '#'],\r\n      \\   'cpp,objcpp' : ['->', '.', '::'],\r\n      \\   'perl' : ['->'],\r\n      \\   'php' : ['->', '::'],\r\n      \\   'cs,java,javascript,d,python,perl6,scala,vb,elixir,go,typescript' : ['.'],\r\n      \\   'vim' : ['re![_a-zA-Z]+[_\\w]*\\.'],\r\n      \\   'ruby' : ['.', '::'],\r\n      \\   'lua' : ['.', ':'],\r\n      \\   'erlang' : [':'],\r\n      \\ }\r\n```\r\n\r\nThe autocompletion pops up for Erlang when typing `:`, but after typing in a letter it disappears. When using Python for example, I can type a `.` and continue typing letters and the menu will stay up. The only way I can have the Erlang menu up is by forcing the completion with `ctrl + space` after pressing `:`."},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/84031094","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1413#issuecomment-84031094","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1413","id":84031094,"user":{"login":"dani-h","id":5557301,"avatar_url":"https://avatars.githubusercontent.com/u/5557301?v=3","gravatar_id":"","url":"https://api.github.com/users/dani-h","html_url":"https://github.com/dani-h","followers_url":"https://api.github.com/users/dani-h/followers","following_url":"https://api.github.com/users/dani-h/following{/other_user}","gists_url":"https://api.github.com/users/dani-h/gists{/gist_id}","starred_url":"https://api.github.com/users/dani-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dani-h/subscriptions","organizations_url":"https://api.github.com/users/dani-h/orgs","repos_url":"https://api.github.com/users/dani-h/repos","events_url":"https://api.github.com/users/dani-h/events{/privacy}","received_events_url":"https://api.github.com/users/dani-h/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T14:25:40Z","updated_at":"2015-03-20T14:25:40Z","body":"Open an Erlang file, somefile.erl\r\nType `lists:` and autocomplete options will pop up\r\nEnter a letter matching any of the autocomplete options, the menu will close.\r\n\r\nRepeat similar steps for python and the menu will not close.\r\n\r\nI'm not sure how to write an actual test as I'm not fluent in VimL."}}