{"action":"created","issue":{"url":"https://api.github.com/repos/raichoo/purescript-vim/issues/13","repository_url":"https://api.github.com/repos/raichoo/purescript-vim","labels_url":"https://api.github.com/repos/raichoo/purescript-vim/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/raichoo/purescript-vim/issues/13/comments","events_url":"https://api.github.com/repos/raichoo/purescript-vim/issues/13/events","html_url":"https://github.com/raichoo/purescript-vim/pull/13","id":173436294,"number":13,"title":"Improve syntax highlighting based on purescript's grammar","user":{"login":"arthur-xavier","id":2164548,"avatar_url":"https://avatars.githubusercontent.com/u/2164548?v=3","gravatar_id":"","url":"https://api.github.com/users/arthur-xavier","html_url":"https://github.com/arthur-xavier","followers_url":"https://api.github.com/users/arthur-xavier/followers","following_url":"https://api.github.com/users/arthur-xavier/following{/other_user}","gists_url":"https://api.github.com/users/arthur-xavier/gists{/gist_id}","starred_url":"https://api.github.com/users/arthur-xavier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthur-xavier/subscriptions","organizations_url":"https://api.github.com/users/arthur-xavier/orgs","repos_url":"https://api.github.com/users/arthur-xavier/repos","events_url":"https://api.github.com/users/arthur-xavier/events{/privacy}","received_events_url":"https://api.github.com/users/arthur-xavier/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-08-26T11:54:33Z","updated_at":"2016-08-28T16:42:38Z","closed_at":"2016-08-26T11:56:37Z","pull_request":{"url":"https://api.github.com/repos/raichoo/purescript-vim/pulls/13","html_url":"https://github.com/raichoo/purescript-vim/pull/13","diff_url":"https://github.com/raichoo/purescript-vim/pull/13.diff","patch_url":"https://github.com/raichoo/purescript-vim/pull/13.patch"},"body":"The previous version of purescript's syntax highlighting for vim didn't highlight correctly all the elements, missing key pieces such as: constructors being highlighted the same as types, function names on declarations not highlighted, type variables or module exports/imports.\r\n\r\nThis pull request is an attempt to fix some inconsistencies by replicating purescript's syntax grammar, thus enabling the coder to quickly identify all syntactic elements of purescript.\r\n\r\n![Preview of the improvements using the color scheme Molokai](https://pbs.twimg.com/media/CqufibJWYAAw9-M.jpg:large)"},"comment":{"url":"https://api.github.com/repos/raichoo/purescript-vim/issues/comments/242984760","html_url":"https://github.com/raichoo/purescript-vim/pull/13#issuecomment-242984760","issue_url":"https://api.github.com/repos/raichoo/purescript-vim/issues/13","id":242984760,"user":{"login":"oblitum","id":1269815,"avatar_url":"https://avatars.githubusercontent.com/u/1269815?v=3","gravatar_id":"","url":"https://api.github.com/users/oblitum","html_url":"https://github.com/oblitum","followers_url":"https://api.github.com/users/oblitum/followers","following_url":"https://api.github.com/users/oblitum/following{/other_user}","gists_url":"https://api.github.com/users/oblitum/gists{/gist_id}","starred_url":"https://api.github.com/users/oblitum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblitum/subscriptions","organizations_url":"https://api.github.com/users/oblitum/orgs","repos_url":"https://api.github.com/users/oblitum/repos","events_url":"https://api.github.com/users/oblitum/events{/privacy}","received_events_url":"https://api.github.com/users/oblitum/received_events","type":"User","site_admin":false},"created_at":"2016-08-28T16:42:37Z","updated_at":"2016-08-28T16:42:37Z","body":"@arthur-xavier fyi, I've already updated the regex to conceal solely in anonymous lambda grammar (and if → follows):\r\n\r\n```vim\r\nset conceallevel=2\r\nau FileType purescript set concealcursor=vin\r\nau WinEnter,BufEnter,BufRead,FileType,Colorscheme *\r\n    \\ if exists('w:lambda_conceal')                                                                               |\r\n    \\     call matchdelete(w:lambda_conceal)                                                                      |\r\n    \\     unlet w:lambda_conceal                                                                                  |\r\n    \\ endif                                                                                                       |\r\n    \\ if &ft == 'purescript'                                                                                      |\r\n    \\     let w:lambda_conceal = matchadd('Conceal', '\\v\\\\((<[_a-z](\\w|'')*>\\s*)+→)@=', 10, -1, {'conceal': 'λ'}) |\r\n    \\     hi! link Conceal Operator                                                                               |\r\n    \\ endif\r\n```"}}
{"actor":{"display_login":"oblitum"}}