Replaced cindent with smartindent because cindent doesnt work with indent plugins and doesn't give me what I want anyway.