{"action":"created","issue":{"url":"https://api.github.com/repos/jcfaria/Vim-R-plugin/issues/133","labels_url":"https://api.github.com/repos/jcfaria/Vim-R-plugin/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/jcfaria/Vim-R-plugin/issues/133/comments","events_url":"https://api.github.com/repos/jcfaria/Vim-R-plugin/issues/133/events","html_url":"https://github.com/jcfaria/Vim-R-plugin/issues/133","id":47535026,"number":133,"title":"Indent rules for line after “{”","user":{"login":"klmr","id":38931,"avatar_url":"https://avatars.githubusercontent.com/u/38931?v=3","gravatar_id":"","url":"https://api.github.com/users/klmr","html_url":"https://github.com/klmr","followers_url":"https://api.github.com/users/klmr/followers","following_url":"https://api.github.com/users/klmr/following{/other_user}","gists_url":"https://api.github.com/users/klmr/gists{/gist_id}","starred_url":"https://api.github.com/users/klmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klmr/subscriptions","organizations_url":"https://api.github.com/users/klmr/orgs","repos_url":"https://api.github.com/users/klmr/repos","events_url":"https://api.github.com/users/klmr/events{/privacy}","received_events_url":"https://api.github.com/users/klmr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jcfaria/Vim-R-plugin/labels/Bug","name":"Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-11-02T12:14:46Z","updated_at":"2015-04-08T17:35:30Z","closed_at":"2015-04-08T17:35:30Z","body":"The indent rules for Vim-R are generally very sensible but they fail in cases such as this ([testthat](https://github.com/hadley/testthat) code, but the same situation is generally applicable):\r\n\r\n```r\r\ntest_that('the function works', {\r\n          |\r\n})\r\n```\r\n\r\nThe position of the cursor is indicated by “|”, and I think it’s uncontroversial to call this wrong: in such a case, we want to simply shift the indent by `shiftwidth` from the previous level, rather than aligning it with the previous opening parenthesis.\r\n\r\nI’ve read the FAQ and I realise this may be related to #77 but it looks sufficiently dissimilar – maybe there’s hope?"},"comment":{"url":"https://api.github.com/repos/jcfaria/Vim-R-plugin/issues/comments/90983080","html_url":"https://github.com/jcfaria/Vim-R-plugin/issues/133#issuecomment-90983080","issue_url":"https://api.github.com/repos/jcfaria/Vim-R-plugin/issues/133","id":90983080,"user":{"login":"jalvesaq","id":891655,"avatar_url":"https://avatars.githubusercontent.com/u/891655?v=3","gravatar_id":"","url":"https://api.github.com/users/jalvesaq","html_url":"https://github.com/jalvesaq","followers_url":"https://api.github.com/users/jalvesaq/followers","following_url":"https://api.github.com/users/jalvesaq/following{/other_user}","gists_url":"https://api.github.com/users/jalvesaq/gists{/gist_id}","starred_url":"https://api.github.com/users/jalvesaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalvesaq/subscriptions","organizations_url":"https://api.github.com/users/jalvesaq/orgs","repos_url":"https://api.github.com/users/jalvesaq/repos","events_url":"https://api.github.com/users/jalvesaq/events{/privacy}","received_events_url":"https://api.github.com/users/jalvesaq/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T17:35:30Z","updated_at":"2015-04-08T17:35:30Z","body":"I deleted from the Vim-R-plugin the files that are already distributed as official Vim runtime files. Now, there is a new repository with these files: https://github.com/jalvesaq/R-Vim-runtime\r\n\r\nSince the official runtime files are no longer in this repository, I'm closing this bug. This bug is already described in the *Known bugs* section of the README.md, and new bugs should be reported in the new repository."}}