 	    (lambda()
 	      (delete-trailing-whitespace)
 	      nil))
-  )  
+  )
 (add-hook 'web-mode-hook  'gp-web-mode-hook)
 
 
 ;; adjust indents for json-mode to 2 spaces
 (defun gp-json-mode-hook ()
-  "hooks for json-mode."
+  "Hooks for json-mode."
   (make-local-variable 'js-indent-level)
   (setq js-indent-level 2))
 

(require-package 'color-identifiers-mode)

(require 'web-mode)

;; I need to use a combination of web-mode and js2-mode as web-mode
;; and eslint aren't compatible with each other I use web-mode for

  )

(defun gp-setup-webdev-auto-list ()
  "Configure file mode mapping for web-mode and js2-mode."
  (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))
