Emacs: Set web-mode default-indentation to 2.

This commit is contained in:
tastytea 2019-12-31 12:58:36 +01:00
parent 0198c88b1a
commit aeee64afcc

View File

@ -1,6 +1,6 @@
;;; web.el --- Settings for web stuff. -*- lexical-binding: t; -*-
;; Time-stamp: <2019-12-26T07:41:59+00:00>
;; Time-stamp: <2019-12-31T03:19:03+0100>
;;; Commentary:
@ -15,6 +15,9 @@
)
(use-package web-mode
:custom
(web-mode-markup-indent-offset 2) ; Default indentation level.
:mode
("\\.p?html?$" . web-mode)
("\\.tmpl$" . web-mode) ; Gitea templates.