   (add-to-list 'auto-mode-alist '("\\.handlebars" . web-mode))
   (add-to-list 'auto-mode-alist '("\\.hbs" . web-mode))
   (add-to-list 'auto-mode-alist '("\\.djhtml" . web-mode))
-t)
+  t)
+
+(defun dotemacs-init-xml ()
+  (setq nxml-child-indent 4 nxml-attribute-indent 4)
+  t)
 
 (defun dotemacs-init-org ()
   (setq org-todo-keywords

  (dotemacs-init-plsql)
  (dotemacs-init-rst)
  (dotemacs-init-web)
  ; (dotemacs-init-c)
  ; (dotemacs-init-c++)
  (dotemacs-init-rust)

  (sp-pair "\"" "\"" :wrap "C-\"")

  ;; Fonts
  (add-to-list 'default-frame-alist '(font . "Hack 10"))
  (set-face-attribute 'default nil :font "Hack 10")
  (set-face-attribute 'font-lock-comment-face nil :font "Ubuntu Mono 11" :foreground "Firebrick")

  ;; smart minibuffer: either ido or icicles
  (require-or-install 'flx-ido)
