blob: 60c9835e1241cc2f78c938738a3ebf6d5a3fd9a6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
;;; 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)
(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
|