Commits

ZHUO Qiang committed be9368f

make html5 template default for all html files

Comments (0)

Files changed (2)

 (auto-insert-mode 1)
 (setq auto-insert-alist '()) ; clear build-in insert templates
 (qiang-define-auto-insert "\\.\\(h\\|hpp\\|hxx\\|hmm\\)$" "h")
+(qiang-define-auto-insert "\\.\\(html\\)" "html5")
 (setq auto-insert-query nil)
 (custom-set-variables
  ;; custom-set-variables was added by Custom.

snippets/nxml-mode/html5

 # -*- mode: snippet -*-
 # name : html5
-# key: h
+# key: html5
 # --
 <!doctype html>
 <html lang="${1:zh}">