Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.46 KB | None | 0 0
  1. (add-hook 'python-mode-hook
  2.           (lambda ()
  3.                  (auto-complete-mode 1)
  4.                  (set (make-local-variable 'ac-sources)
  5.                       (append ac-sources '(ac-source-rope) '(ac-source-yasnippet)))
  6.                  (set (make-local-variable 'ac-find-function) 'ac-python-find)
  7.                  (set (make-local-variable 'ac-candidate-function) 'ac-python-candidate)
  8.                  (set (make-local-variable 'ac-auto-start) nil)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement