Fix syntax highlighting and clean up the autocomplete list.