{"action":"created","issue":{"url":"https://api.github.com/repos/junegunn/vim-easy-align/issues/97","repository_url":"https://api.github.com/repos/junegunn/vim-easy-align","labels_url":"https://api.github.com/repos/junegunn/vim-easy-align/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/junegunn/vim-easy-align/issues/97/comments","events_url":"https://api.github.com/repos/junegunn/vim-easy-align/issues/97/events","html_url":"https://github.com/junegunn/vim-easy-align/issues/97","id":203223455,"number":97,"title":"Problem with filetype=ruby","user":{"login":"rderik","id":22192082,"avatar_url":"https://avatars.githubusercontent.com/u/22192082?v=3","gravatar_id":"","url":"https://api.github.com/users/rderik","html_url":"https://github.com/rderik","followers_url":"https://api.github.com/users/rderik/followers","following_url":"https://api.github.com/users/rderik/following{/other_user}","gists_url":"https://api.github.com/users/rderik/gists{/gist_id}","starred_url":"https://api.github.com/users/rderik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rderik/subscriptions","organizations_url":"https://api.github.com/users/rderik/orgs","repos_url":"https://api.github.com/users/rderik/repos","events_url":"https://api.github.com/users/rderik/events{/privacy}","received_events_url":"https://api.github.com/users/rderik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-25T21:11:22Z","updated_at":"2017-01-26T02:05:47Z","closed_at":"2017-01-25T21:35:30Z","body":"The problem seems to be only with filetype=ruby\r\nI have this text:\r\n```\r\nRails.application.routes.draw do\r\n  get 'book/list'\r\n  get 'book/new'\r\n  post 'book/create'\r\n  patch 'book/update'\r\n  get 'book/list'\r\n  get 'book/show'\r\n  get 'book/edit'\r\n  get 'book/delete'\r\n  get 'book/update'\r\n  get 'book/show_subjects'\r\nend\r\n```\r\nAnd when I try to run the command:\r\n`:%EasyAlign /'/ {'rm': 0}`\r\n\r\nNothing happens. But if I go:\r\n```\r\n:set ft=text\r\n:%EasyAlign /'/ {'rm': 0}\r\n```\r\nIt works as expected.\r\n\r\nI'm using the following Plugins that might cause the error:\r\n```vim\r\nPlug 'vim-ruby/vim-ruby'\r\nPlug 'tpope/vim-rails'\r\n```\r\nThanks in advance for any help.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/junegunn/vim-easy-align/issues/comments/275290736","html_url":"https://github.com/junegunn/vim-easy-align/issues/97#issuecomment-275290736","issue_url":"https://api.github.com/repos/junegunn/vim-easy-align/issues/97","id":275290736,"user":{"login":"junegunn","id":700826,"avatar_url":"https://avatars.githubusercontent.com/u/700826?v=3","gravatar_id":"","url":"https://api.github.com/users/junegunn","html_url":"https://github.com/junegunn","followers_url":"https://api.github.com/users/junegunn/followers","following_url":"https://api.github.com/users/junegunn/following{/other_user}","gists_url":"https://api.github.com/users/junegunn/gists{/gist_id}","starred_url":"https://api.github.com/users/junegunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junegunn/subscriptions","organizations_url":"https://api.github.com/users/junegunn/orgs","repos_url":"https://api.github.com/users/junegunn/repos","events_url":"https://api.github.com/users/junegunn/events{/privacy}","received_events_url":"https://api.github.com/users/junegunn/received_events","type":"User","site_admin":false},"created_at":"2017-01-26T02:05:47Z","updated_at":"2017-01-26T02:05:47Z","body":"I would select the lines inside the do block and align around the first space.\r\n\r\n- `ga<space>`"}}
{"actor":{"display_login":"junegunn"}}