{"action":"created","issue":{"url":"https://api.github.com/repos/vim-airline/vim-airline/issues/1150","repository_url":"https://api.github.com/repos/vim-airline/vim-airline","labels_url":"https://api.github.com/repos/vim-airline/vim-airline/issues/1150/labels{/name}","comments_url":"https://api.github.com/repos/vim-airline/vim-airline/issues/1150/comments","events_url":"https://api.github.com/repos/vim-airline/vim-airline/issues/1150/events","html_url":"https://github.com/vim-airline/vim-airline/issues/1150","id":151532550,"number":1150,"title":"Custom section definitions failing to load for extension-based parts","user":{"login":"zhimsel","id":5325723,"avatar_url":"https://avatars.githubusercontent.com/u/5325723?v=3","gravatar_id":"","url":"https://api.github.com/users/zhimsel","html_url":"https://github.com/zhimsel","followers_url":"https://api.github.com/users/zhimsel/followers","following_url":"https://api.github.com/users/zhimsel/following{/other_user}","gists_url":"https://api.github.com/users/zhimsel/gists{/gist_id}","starred_url":"https://api.github.com/users/zhimsel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhimsel/subscriptions","organizations_url":"https://api.github.com/users/zhimsel/orgs","repos_url":"https://api.github.com/users/zhimsel/repos","events_url":"https://api.github.com/users/zhimsel/events{/privacy}","received_events_url":"https://api.github.com/users/zhimsel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-28T02:04:01Z","updated_at":"2016-04-28T05:24:00Z","closed_at":null,"body":"#### environment\r\n\r\n- vim: `neovim 0.1.3` and `vim 7.4`\r\n- vim-airline: d36085a\r\n- OS: OSX 10.10.5\r\nif you are using terminal:\r\n- terminal: iTerm2 Build 2.9.20160426\r\n- $TERM variable: xterm-256color\r\n- color configuration (:set t_Co?): n/a in neovim, `256` in vim\r\n\r\n#### behavior\r\n\r\nI'm trying to set my own `sections` config, but it seems that any `parts` that are loaded from extensions are being ignored... I've tried re-ordering my airline settings, loading airline after every other plugin. \r\n\r\nMy vimrc is [located here](https://github.com/zhimsel/dotfiles/blob/c5414b455af9f975794f6aa0d4d4dcf7342f6b44/vimrc#L212-L246) (relevant parts highlighted). The particular sections I'm having trouble with are `y` and `z`. \r\n\r\nThe weird thing is if I just open vim, `g:airline_section_y` is blank (and `windowswap` is missing from `g:airline_section_z`), but if I then manually run:\r\n\r\n```vim\r\nlet g:airline_section_y = airline#section#create(['hunks', 'branch'])\r\nlet g:airline_section_z = airline#section#create(['windowswap', '%v:%l/%L'])\r\n```\r\nthey populate fine and it works as expected. That's what led me to think it might be an issue with the order the settings are called or the order the plugins are loaded...\r\n"},"comment":{"url":"https://api.github.com/repos/vim-airline/vim-airline/issues/comments/215313236","html_url":"https://github.com/vim-airline/vim-airline/issues/1150#issuecomment-215313236","issue_url":"https://api.github.com/repos/vim-airline/vim-airline/issues/1150","id":215313236,"user":{"login":"chrisbra","id":244927,"avatar_url":"https://avatars.githubusercontent.com/u/244927?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisbra","html_url":"https://github.com/chrisbra","followers_url":"https://api.github.com/users/chrisbra/followers","following_url":"https://api.github.com/users/chrisbra/following{/other_user}","gists_url":"https://api.github.com/users/chrisbra/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisbra/subscriptions","organizations_url":"https://api.github.com/users/chrisbra/orgs","repos_url":"https://api.github.com/users/chrisbra/repos","events_url":"https://api.github.com/users/chrisbra/events{/privacy}","received_events_url":"https://api.github.com/users/chrisbra/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T05:24:00Z","updated_at":"2016-04-28T05:24:00Z","body":"this is of course just a work around for the moment."}}