Closed computersarecool closed 8 years ago
Hi, I believe I have this installed just the readme says, but I am still not getting a drop down window when I type a previously-typed function: i.e.
I have in my .emacs:
(add-to-list 'auto-mode-alist (cons (rx ".js" eos) 'js2-mode)) (add-hook 'js-mode-hook 'ac-js2-mode)
So I do not know what is wrong. Any ideas?
You should add ac-js2-mode to the js2-mode-hook, and not to the js-mode-hook:
ac-js2-mode
js2-mode-hook
js-mode-hook
(add-hook 'js2-mode-hook 'ac-js2-mode)
Hi, I believe I have this installed just the readme says, but I am still not getting a drop down window when I type a previously-typed function: i.e.
I have in my .emacs:
So I do not know what is wrong. Any ideas?