From 8009bffa790cf81e4f2839ad5f5cb869b29f5ed3 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 28 Jan 2020 21:47:34 -0800 Subject: [PATCH] Enable nxml-mode for Xaml files --- oni-csharp.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/oni-csharp.el b/oni-csharp.el index 95f077d..927d46a 100644 --- a/oni-csharp.el +++ b/oni-csharp.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2019.1210.230556 +;; Version: 2020.0128.214417 ;; Package-Requires: (csharp-mode omnisharp oni-company oni-flycheck) ;; This program is free software; you can redistribute it and/or modify @@ -91,6 +91,9 @@ (add-hook 'csharp-mode-hook 'omnisharp-mode) (add-hook 'csharp-mode-hook 'oni-csharp--auto-fill-mode) +;;;###autoload +(add-to-list 'auto-mode-alist '("\\.xaml\\'" . nxml-mode)) + ;;;###autoload(with-eval-after-load 'csharp-mode (require 'oni-csharp)) (provide 'oni-csharp)