I am using autocomplete-1.4.0 and yasnippet-0.8.1 with the following order and configuration in my .emacs file.
; === auto-complete ===
(require 'auto-complete)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(require 'auto-complete-config)
(ac-config-default)
;; === yasnippet ===
(require 'yasnippet)
(yas-global-mode t)
(setq yas-snippet-dirs
'("~/.emacs.d/snippets/my-snippets"
"~/.emacs.d/snippets/yasnippet-snippets"
))
However, I get no prompts from autocomplete for any of the existing snippets or for any of the new snippets that I create. Can someone help if I am doing something wrong here?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…