reddit / emacs

GNU Emacs ac-html not working

Viraj_Lalsare · 2022-03-05 07:40
This is the snippet `;; HTML Autocompletion` `(use-package ac-html` `:ensure t` `:init` `(progn` `(ac-config-default)` `(auto-complete-mode t)))`
nv-elisp · 2022-03-05 07:59
Please put more effort in when seeking support. "Not working" is too vague a description of the problem you're having. How is it not working? What do you expect to happen and what is actually happening?
franburstall · 2022-03-05 10:11
Replace `:init` with `:config`. The stuff in `:init` is run before `ac-html` is loaded which is probably not what you want. Also the `progn` is unnecessary.
Viraj_Lalsare · 2022-03-05 12:05
it still doesn't work it gives this error
Viraj_Lalsare · 2022-03-05 12:05
yeah, sorry
franburstall · 2022-03-05 12:42
What error?
Viraj_Lalsare · 2022-03-06 11:02
just forgot to edit the last part now it's this (use-package ac-html :ensure t :config) (auto-complete-mode 1)
redguardtoo · 2022-03-08 14:18
You could use `company-mode` plus cli program `universal-ctags` `auto-complete-mode` is outdated.