Associate .xsd/.rng files with nxml-mode.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 26 Apr 2013 14:57:07 +0300
changeset 1033 970347ad41f8
parent 1032 2177746c28a0
child 1034 fdb9d7f7066e
Associate .xsd/.rng files with nxml-mode.
.emacs-my
--- a/.emacs-my	Thu Apr 25 11:59:01 2013 +0300
+++ b/.emacs-my	Fri Apr 26 14:57:07 2013 +0300
@@ -2501,6 +2501,8 @@
 (setq nxml-attribute-indent 4)
 
 (add-to-list 'auto-mode-alist '("\.pom\\'" . nxml-mode))
+(add-to-list 'auto-mode-alist '("\.xsd\\'" . nxml-mode))
+(add-to-list 'auto-mode-alist '("\.rng\\'" . nxml-mode))
 
 (eval-after-load 'nxml-mode '(define-key nxml-mode-map [C-return] 'nxml-complete))