Disable code_complete. Register autocmd's only when code_complete is enabled.