add func to toggle tern hints