{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/751","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/751/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/751/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/751/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/751","id":59574284,"number":751,"title":"Unexpected results if evil-shift-width and language indent aren't the same","user":{"login":"exitface","id":1232199,"avatar_url":"https://avatars.githubusercontent.com/u/1232199?v=3","gravatar_id":"","url":"https://api.github.com/users/exitface","html_url":"https://github.com/exitface","followers_url":"https://api.github.com/users/exitface/followers","following_url":"https://api.github.com/users/exitface/following{/other_user}","gists_url":"https://api.github.com/users/exitface/gists{/gist_id}","starred_url":"https://api.github.com/users/exitface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exitface/subscriptions","organizations_url":"https://api.github.com/users/exitface/orgs","repos_url":"https://api.github.com/users/exitface/repos","events_url":"https://api.github.com/users/exitface/events{/privacy}","received_events_url":"https://api.github.com/users/exitface/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/bug%20:-(","name":"bug :-(","color":"fc2929"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Evil","name":"Evil","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-03T00:06:45Z","updated_at":"2015-10-29T14:27:48Z","closed_at":null,"body":"Not experiencing this issue with vanilla evil\r\n\r\n```ruby\r\ndef meth\r\n  do_something\r\n  my_collection.each do |item|\r\n    if item == something\r\n      do_something_else\r\n    end\r\n  end\r\nend\r\n```\r\nWith the cursor at the top of the file typing `>G` results in\r\n\r\n```ruby\r\n    def meth\r\n    do_something\r\n    my_collection.each do |item|\r\n        if item == something\r\n        do_something_else\r\n        end\r\n    end\r\n    end\r\n```\r\n\r\nThis can be fixed via setting evil-shift-width in the .spacemacs file\r\n\r\n```\r\n(custom-set-variables\r\n '(evil-shift-width 2))\r\n```\r\n\r\nBut obviously is going to break languages that don't use 2 spaces."},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/152196886","html_url":"https://github.com/syl20bnr/spacemacs/issues/751#issuecomment-152196886","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/751","id":152196886,"user":{"login":"syl20bnr","id":1243537,"avatar_url":"https://avatars.githubusercontent.com/u/1243537?v=3","gravatar_id":"","url":"https://api.github.com/users/syl20bnr","html_url":"https://github.com/syl20bnr","followers_url":"https://api.github.com/users/syl20bnr/followers","following_url":"https://api.github.com/users/syl20bnr/following{/other_user}","gists_url":"https://api.github.com/users/syl20bnr/gists{/gist_id}","starred_url":"https://api.github.com/users/syl20bnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syl20bnr/subscriptions","organizations_url":"https://api.github.com/users/syl20bnr/orgs","repos_url":"https://api.github.com/users/syl20bnr/repos","events_url":"https://api.github.com/users/syl20bnr/events{/privacy}","received_events_url":"https://api.github.com/users/syl20bnr/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T14:27:47Z","updated_at":"2015-10-29T14:27:47Z","body":"@StreakyCobra @TheBB I'm not sure this is a good thing to put it to nil because the issue we fix on one side creates the exact same issue on the other side. By other side I mean \"someone wanting to fix the indentation in a file\" (say everything is indented with 3 spaces and the user want 4 instead).\r\n\r\nThe issue here seems to be the round operation which should round to the _next_ nearest tab instead of allowing to go backward. "}}