   (setq css-indent-offset n) ; css-mode
   )
 
-(defun gp-setup-web-mode-auto-list ()
+(defun gp-setup-webdev-auto-list ()
   (add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
   (add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
   (add-to-list 'auto-mode-alist '("\\.jsp\\'" . web-mode))


(require 'web-mode)

(defun gp-setup-web-mode-indent (n)
  (setq coffee-tab-width n) ; coffeescript
  (setq javascript-indent-level n) ; javascript-mode
  (setq js-indent-level n) ; js-mode

  (add-to-list 'auto-mode-alist '("\\.hbs\\'" . web-mode))
  (add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
  (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
  ;; Use web-mode for jsx files (mixed content)
  (add-to-list 'auto-mode-alist '("\\.jsx?\\'" . web-mode))
  ;; Ensure web-mode uses the jsx content type for js files
  (setq web-mode-content-types-alist '(("jsx" . "\\.jsx?\\'")))
  
  (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
  (add-to-list 'auto-mode-alist '("\\.json\\'" . js2-mode))
  )

;; adjust indents for web-mode to 2 spaces
