Use foldmethod=syntax for go files