Emacs disable auto-complete in python-mode

前端 未结 2 1980
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-18 13:33

I am using Emacs 24 and would like to disable auto-complete mode while in python-mode so it does not conflict with jedi. How do I go about doing this (sadly I do not know Em

2条回答
  •  太阳男子
    2021-01-18 13:55

    I think I had a similar problem: my yellow Jedi popups with Python-specific content were taken over by grey popups from a more general auto-complete feature. Hence, I could choose non-Python related options, but not the Python-specific ones.

    What helped for me was ensuring that auto-complete-mode is disabled in Python mode:

    (add-hook 'python-mode-hook (lambda () (auto-complete-mode -1)))
    

提交回复
热议问题