{"action":"closed","issue":{"url":"https://api.github.com/repos/cmhughes/latexindent.pl/issues/43","repository_url":"https://api.github.com/repos/cmhughes/latexindent.pl","labels_url":"https://api.github.com/repos/cmhughes/latexindent.pl/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/cmhughes/latexindent.pl/issues/43/comments","events_url":"https://api.github.com/repos/cmhughes/latexindent.pl/issues/43/events","html_url":"https://github.com/cmhughes/latexindent.pl/issues/43","id":137872402,"number":43,"title":"Square brackets in maths mode","user":{"login":"Focus","id":93248,"avatar_url":"https://avatars.githubusercontent.com/u/93248?v=3","gravatar_id":"","url":"https://api.github.com/users/Focus","html_url":"https://github.com/Focus","followers_url":"https://api.github.com/users/Focus/followers","following_url":"https://api.github.com/users/Focus/following{/other_user}","gists_url":"https://api.github.com/users/Focus/gists{/gist_id}","starred_url":"https://api.github.com/users/Focus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Focus/subscriptions","organizations_url":"https://api.github.com/users/Focus/orgs","repos_url":"https://api.github.com/users/Focus/repos","events_url":"https://api.github.com/users/Focus/events{/privacy}","received_events_url":"https://api.github.com/users/Focus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-02T13:21:45Z","updated_at":"2016-03-02T13:32:07Z","closed_at":"2016-03-02T13:32:07Z","body":"This might be related to #35. When I run latexindent with the option `alwaysLookforSplitBrackets: 1` I get that\r\n```latex\r\n\\[\r\n\tx \\in (0,1] \\cup [2,3]\r\n\t\\]\r\n\tThis indents incorrectly\r\n```\r\nThis indents as normal when `alwaysLookforSplitBrackets: 0` . Is this behaviour intensional? It seems weird to keep track of the square brackets inside of math environments."}}