fxbois / web-mode

web template editing mode for emacs
https://web-mode.org
GNU General Public License v3.0
1.63k stars 262 forks source link

customizable markup comment indent #1272

Closed glyph closed 1 year ago

glyph commented 1 year ago

eslint-html wants every indent to be consistent, which means <!-- comments as well as every other type of element, but this cannot be customized in web-mode. This PR makes it possible to do so.

glyph commented 1 year ago

(I've ignored standard-indent here since it was ignored before for some reason, but I don't know if that's the right way to handle it.)

fxbois commented 1 year ago

thank you