blob: 5a3d1627f1902e7db74eb88617827684e3c58e1e (
plain) (
tree)
|
|
;;; init-xml.el --- XML Configuration File -*- lexical-binding: t -*-
;;; Commentary:
;; Based on prelude-xml.el
;;; Code:
(use-package nxml-mode
:ensure nil
:config
(push '("<\\?xml" . nxml-mode) magic-mode-alist)
;; pom files should be treated as xml files
(add-to-list 'auto-mode-alist '("\\.pom\\'" . nxml-mode))
:custom
(nxml-child-indent 4)
(nxml-attribute-indent 4)
(nxml-auto-insert-xml-declaration-flag nil)
(nxml-bind-meta-tab-to-complete-flag t)
(nxml-slash-auto-complete-flag t))
(provide 'init-xml)
;;; init-xml.el ends here
|