Moved mode enabling to the top and enabled eldoc support for go