{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/dotfiles/issues/471","repository_url":"https://api.github.com/repos/thoughtbot/dotfiles","labels_url":"https://api.github.com/repos/thoughtbot/dotfiles/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/dotfiles/issues/471/comments","events_url":"https://api.github.com/repos/thoughtbot/dotfiles/issues/471/events","html_url":"https://github.com/thoughtbot/dotfiles/pull/471","id":133585461,"number":471,"title":"Set the default shell type to POSIX in vim","user":{"login":"sharplet","id":147686,"avatar_url":"https://avatars.githubusercontent.com/u/147686?v=3","gravatar_id":"","url":"https://api.github.com/users/sharplet","html_url":"https://github.com/sharplet","followers_url":"https://api.github.com/users/sharplet/followers","following_url":"https://api.github.com/users/sharplet/following{/other_user}","gists_url":"https://api.github.com/users/sharplet/gists{/gist_id}","starred_url":"https://api.github.com/users/sharplet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharplet/subscriptions","organizations_url":"https://api.github.com/users/sharplet/orgs","repos_url":"https://api.github.com/users/sharplet/repos","events_url":"https://api.github.com/users/sharplet/events{/privacy}","received_events_url":"https://api.github.com/users/sharplet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-14T21:54:36Z","updated_at":"2016-02-16T13:18:11Z","closed_at":"2016-02-16T13:17:45Z","pull_request":{"url":"https://api.github.com/repos/thoughtbot/dotfiles/pulls/471","html_url":"https://github.com/thoughtbot/dotfiles/pull/471","diff_url":"https://github.com/thoughtbot/dotfiles/pull/471.diff","patch_url":"https://github.com/thoughtbot/dotfiles/pull/471.patch"},"body":"If it can't be determined that a shell script is either `bash` or `ksh`, use `posix` as the default instead of plain `sh`. It seems unlikely that `/bin/sh` wouldn't be a POSIX-compliant shell on modern systems.\r\n\r\nSee [`:help ft-sh-syntax`](http://vimdoc.sourceforge.net/htmldoc/syntax.html#ft-sh-syntax) and [this thread on /r/vim](https://www.reddit.com/r/vim/comments/25g1sp/why_doesnt_vim_syntax_like_my_shell_files/chlc4ep) for more info.\r\n\r\nThis fixes the issue where `$(...)` syntax in shell scripts is highlighted as an error in vim."},"comment":{"url":"https://api.github.com/repos/thoughtbot/dotfiles/issues/comments/184679756","html_url":"https://github.com/thoughtbot/dotfiles/pull/471#issuecomment-184679756","issue_url":"https://api.github.com/repos/thoughtbot/dotfiles/issues/471","id":184679756,"user":{"login":"geoffharcourt","id":319471,"avatar_url":"https://avatars.githubusercontent.com/u/319471?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffharcourt","html_url":"https://github.com/geoffharcourt","followers_url":"https://api.github.com/users/geoffharcourt/followers","following_url":"https://api.github.com/users/geoffharcourt/following{/other_user}","gists_url":"https://api.github.com/users/geoffharcourt/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffharcourt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffharcourt/subscriptions","organizations_url":"https://api.github.com/users/geoffharcourt/orgs","repos_url":"https://api.github.com/users/geoffharcourt/repos","events_url":"https://api.github.com/users/geoffharcourt/events{/privacy}","received_events_url":"https://api.github.com/users/geoffharcourt/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T13:18:11Z","updated_at":"2016-02-16T13:18:11Z","body":"@sharplet thanks for your first dotfiles contribution! :tada: :boom: "}}