{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/4471","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/4471/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/4471/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/4471/events","html_url":"https://github.com/neovim/neovim/issues/4471","id":141978607,"number":4471,"title":"Errors with vim-airline and ft= modeline in first arg","user":{"login":"ncoop","id":3425234,"avatar_url":"https://avatars.githubusercontent.com/u/3425234?v=3","gravatar_id":"","url":"https://api.github.com/users/ncoop","html_url":"https://github.com/ncoop","followers_url":"https://api.github.com/users/ncoop/followers","following_url":"https://api.github.com/users/ncoop/following{/other_user}","gists_url":"https://api.github.com/users/ncoop/gists{/gist_id}","starred_url":"https://api.github.com/users/ncoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncoop/subscriptions","organizations_url":"https://api.github.com/users/ncoop/orgs","repos_url":"https://api.github.com/users/ncoop/repos","events_url":"https://api.github.com/users/ncoop/events{/privacy}","received_events_url":"https://api.github.com/users/ncoop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/6","html_url":"https://github.com/neovim/neovim/milestones/todo","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/6/labels","id":655037,"number":6,"title":"todo","description":"\"todo\" items are *definitely not* planned for the *current* target, but *may* be given priority for a future target. Y'know, like todo.txt ;)","creator":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"open_issues":121,"closed_issues":36,"state":"open","created_at":"2014-05-10T20:43:04Z","updated_at":"2016-04-04T16:58:24Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-03-18T21:10:01Z","updated_at":"2016-04-05T03:52:31Z","closed_at":null,"body":"- Neovim version: NVIM 0.1.3-dev (installed from [neovim-0.1.2-85.gite7a9c00.fc23.x86_64](https://copr.fedoraproject.org/coprs/dperson/neovim-head))\r\n- Operating system: Fedora 23 (4.3.5-300.fc23.x86_64)\r\n- Terminal emulator: problem happens on xfce4-terminal, rxvt-unicode, and also the linux console\r\n\r\n### Actual behaviour\r\nErrors similar to those [reported by wsdjeg at vim-airline](https://github.com/vim-airline/vim-airline/issues/1096)\r\n\r\nThis only seems to happen when there's a modeline specifying filetype in the args, and the file with modeline is the first arg.\r\n\r\n### Steps to reproduce\r\nInstall neovim, and vim-airline (airline was installed with vim-plug)\r\n\r\n```\r\n# minimal init.vim\r\n\r\ncall g:plug#begin('$XDG_CONFIG_HOME/nvim/plugged')\r\n  Plug 'vim-airline/vim-airline'\r\ncall g:plug#end()\r\n```\r\n\r\nFrom shell:\r\n\r\n```\r\necho '# vim: tw=78' > file-vim-tw\r\necho '# vim: ft=sh' > file-vim-ft\r\n\r\n# this is ok\r\nnvim file-vim-tw file-vim-ft\r\n\r\n# errors on startup\r\nnvim file-vim-ft file-vim-tw\r\n```\r\n\r\nProblem does not occur in vim 7.4"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/205630019","html_url":"https://github.com/neovim/neovim/issues/4471#issuecomment-205630019","issue_url":"https://api.github.com/repos/neovim/neovim/issues/4471","id":205630019,"user":{"login":"trev","id":260079,"avatar_url":"https://avatars.githubusercontent.com/u/260079?v=3","gravatar_id":"","url":"https://api.github.com/users/trev","html_url":"https://github.com/trev","followers_url":"https://api.github.com/users/trev/followers","following_url":"https://api.github.com/users/trev/following{/other_user}","gists_url":"https://api.github.com/users/trev/gists{/gist_id}","starred_url":"https://api.github.com/users/trev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trev/subscriptions","organizations_url":"https://api.github.com/users/trev/orgs","repos_url":"https://api.github.com/users/trev/repos","events_url":"https://api.github.com/users/trev/events{/privacy}","received_events_url":"https://api.github.com/users/trev/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T03:52:31Z","updated_at":"2016-04-05T03:52:31Z","body":"Samesies!"}}