Added autocomplete, etags and others to c mode
removed duplicate code