diff options
-rw-r--r-- | lisp/init-python.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-python.el b/lisp/init-python.el index 5842ed6..3a4551c 100644 --- a/lisp/init-python.el +++ b/lisp/init-python.el @@ -19,6 +19,8 @@ (defun km/python-hook () (set (make-local-variable 'yas-fallback-behavior) '(apply auto-complete)) + ;; Stop semantic from taking over imenu. + (setq imenu-create-index-function #'python-imenu-create-index) (set (make-local-variable 'compile-command) "py.test")) (add-hook 'python-mode-hook 'km/python-hook) |