0

I've installed web-mode using a package manager. When I open a html file, it does not activate web-mode automatically. However, I can start web-mode manually using M-x web-mode so I'm sure it is installed correctly.

I am using the following lines in my Preferences.el file:

;;configure web-mode
(require 'web-mode) 
(add-to-list 'auto-mode-alist '("\\.html$" . web-mode))

I have many other configurations in my Preferences.el file and these all work so Aquamacs is definitely recognizing this file.

Does anyone have any further suggestions? Thanks.

Scott Weldon
  • 9,673
  • 6
  • 48
  • 67
soarjay
  • 641
  • 4
  • 17

0 Answers0