{"action":"created","issue":{"url":"https://api.github.com/repos/pangloss/vim-javascript/issues/139","repository_url":"https://api.github.com/repos/pangloss/vim-javascript","labels_url":"https://api.github.com/repos/pangloss/vim-javascript/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/pangloss/vim-javascript/issues/139/comments","events_url":"https://api.github.com/repos/pangloss/vim-javascript/issues/139/events","html_url":"https://github.com/pangloss/vim-javascript/issues/139","id":20820587,"number":139,"title":"dot chained calls are not indented correctly","user":{"login":"nisaacson","id":41758,"avatar_url":"https://avatars.githubusercontent.com/u/41758?v=3","gravatar_id":"","url":"https://api.github.com/users/nisaacson","html_url":"https://github.com/nisaacson","followers_url":"https://api.github.com/users/nisaacson/followers","following_url":"https://api.github.com/users/nisaacson/following{/other_user}","gists_url":"https://api.github.com/users/nisaacson/gists{/gist_id}","starred_url":"https://api.github.com/users/nisaacson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nisaacson/subscriptions","organizations_url":"https://api.github.com/users/nisaacson/orgs","repos_url":"https://api.github.com/users/nisaacson/repos","events_url":"https://api.github.com/users/nisaacson/events{/privacy}","received_events_url":"https://api.github.com/users/nisaacson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pangloss/vim-javascript/labels/indentation","name":"indentation","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2013-10-10T16:58:32Z","updated_at":"2016-04-30T07:03:13Z","closed_at":"2016-04-30T07:03:13Z","body":"When chaining calls together via the `.` operator, the following lines are not indented correctly\r\n\r\n# Desired\r\n```javascript\r\none()\r\n  .then(two)\r\n  .then(function() {\r\n  })\r\n  .fail(failHandler)\r\n```\r\n\r\n# Current\r\n```javascript\r\none()\r\n.then(two)\r\n.then(function() {\r\n})\r\n.fail(failHandler)\r\n```\r\n\r\nIs there a way I can add a custom regular expression to perform additional indentation after the standard vim-javascript indent plugin has finished? Adding an additional two spaces to any line that begins with `.` would be a vast improvement"},"comment":{"url":"https://api.github.com/repos/pangloss/vim-javascript/issues/comments/215943020","html_url":"https://github.com/pangloss/vim-javascript/issues/139#issuecomment-215943020","issue_url":"https://api.github.com/repos/pangloss/vim-javascript/issues/139","id":215943020,"user":{"login":"bounceme","id":9332107,"avatar_url":"https://avatars.githubusercontent.com/u/9332107?v=3","gravatar_id":"","url":"https://api.github.com/users/bounceme","html_url":"https://github.com/bounceme","followers_url":"https://api.github.com/users/bounceme/followers","following_url":"https://api.github.com/users/bounceme/following{/other_user}","gists_url":"https://api.github.com/users/bounceme/gists{/gist_id}","starred_url":"https://api.github.com/users/bounceme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bounceme/subscriptions","organizations_url":"https://api.github.com/users/bounceme/orgs","repos_url":"https://api.github.com/users/bounceme/repos","events_url":"https://api.github.com/users/bounceme/events{/privacy}","received_events_url":"https://api.github.com/users/bounceme/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T07:03:13Z","updated_at":"2016-04-30T07:03:13Z","body":"a problem no longer"}}