Make jedi the only completion source for python-mode

This commit is contained in:
Ivan Malison 2015-10-18 15:39:00 -07:00
parent 2521235f54
commit 5474770d3a

View File

@ -1937,7 +1937,7 @@ window is active in the perspective."
(imalison:set-pytest-command) (imalison:set-pytest-command)
(remove-hook 'completion-at-point-functions (remove-hook 'completion-at-point-functions
'python-completion-complete-at-point 'local) 'python-completion-complete-at-point 'local)
(add-to-list 'company-backends 'company-jedi)) (set (make-local-variable 'company-backends) '(company-jedi)))
(add-hook 'python-mode-hook #'imalison:python-mode)))) (add-hook 'python-mode-hook #'imalison:python-mode))))
;; ============================================================================= ;; =============================================================================