new doom emacs user coming from vim here. so ive been having trouble with php files. did some looking and figured i use web-mode. looking at documentation for this plugin, instructions for installation:

Install

First drop the file web-mode.el in a directory defined in your load-path.
Then, add in your .emacs:

(require 'web-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 '("\\.[agj]sp\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode)) 
  1. where is my load-path located?
  2. this insturction is not doom specific, so i think i have to add above lines to some file, not .emacs. where?

thanks in advance

submitted by /u/Far-Veterinarian9464
[link] [comments]