{"action":"created","issue":{"url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/56","labels_url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/56/comments","events_url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/56/events","html_url":"https://github.com/neovimhaskell/haskell-vim/pull/56","id":109632357,"number":56,"title":"Character highlighting causes the whole file to be highlighted as string","user":{"login":"osa1","id":448274,"avatar_url":"https://avatars.githubusercontent.com/u/448274?v=3","gravatar_id":"","url":"https://api.github.com/users/osa1","html_url":"https://github.com/osa1","followers_url":"https://api.github.com/users/osa1/followers","following_url":"https://api.github.com/users/osa1/following{/other_user}","gists_url":"https://api.github.com/users/osa1/gists{/gist_id}","starred_url":"https://api.github.com/users/osa1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osa1/subscriptions","organizations_url":"https://api.github.com/users/osa1/orgs","repos_url":"https://api.github.com/users/osa1/repos","events_url":"https://api.github.com/users/osa1/events{/privacy}","received_events_url":"https://api.github.com/users/osa1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-03T16:54:09Z","updated_at":"2015-10-03T17:32:05Z","closed_at":"2015-10-03T17:31:27Z","pull_request":{"url":"https://api.github.com/repos/neovimhaskell/haskell-vim/pulls/56","html_url":"https://github.com/neovimhaskell/haskell-vim/pull/56","diff_url":"https://github.com/neovimhaskell/haskell-vim/pull/56.diff","patch_url":"https://github.com/neovimhaskell/haskell-vim/pull/56.patch"},"body":"Currently character highlighting is broken, as far as I understand there's literally no way to highlight a valid Haskell character literal as a character literal.\r\n\r\nMost of the time this is no big deal, but if you're writing a parser/lexer code and have something like `'\"'`, then current highlighter considers that as beginning of a string, and it causes the whole file to be highlighted as a string.\r\n\r\nAttached patch fixes character highlighting, but I'm not sure if it breaks some other things."},"comment":{"url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/comments/145271188","html_url":"https://github.com/neovimhaskell/haskell-vim/pull/56#issuecomment-145271188","issue_url":"https://api.github.com/repos/neovimhaskell/haskell-vim/issues/56","id":145271188,"user":{"login":"raichoo","id":151506,"avatar_url":"https://avatars.githubusercontent.com/u/151506?v=3","gravatar_id":"","url":"https://api.github.com/users/raichoo","html_url":"https://github.com/raichoo","followers_url":"https://api.github.com/users/raichoo/followers","following_url":"https://api.github.com/users/raichoo/following{/other_user}","gists_url":"https://api.github.com/users/raichoo/gists{/gist_id}","starred_url":"https://api.github.com/users/raichoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raichoo/subscriptions","organizations_url":"https://api.github.com/users/raichoo/orgs","repos_url":"https://api.github.com/users/raichoo/repos","events_url":"https://api.github.com/users/raichoo/events{/privacy}","received_events_url":"https://api.github.com/users/raichoo/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T17:32:05Z","updated_at":"2015-10-03T17:32:05Z","body":"No need to apologize. Thank you for reporting this."}}