aboutsummaryrefslogtreecommitdiffstats
path: root/oni-csharp.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-01-28 21:47:34 -0800
committerGravatar Tom Willemse2020-01-28 21:47:34 -0800
commit8009bffa790cf81e4f2839ad5f5cb869b29f5ed3 (patch)
treec07d7f7ec97fcc8ded943c5539286b9f296d102c /oni-csharp.el
parentc7606ee4984e27d271d21fa1fc9b4cab7050584b (diff)
downloademacs-config-8009bffa790cf81e4f2839ad5f5cb869b29f5ed3.tar.gz
emacs-config-8009bffa790cf81e4f2839ad5f5cb869b29f5ed3.zip
Enable nxml-mode for Xaml files
Diffstat (limited to 'oni-csharp.el')
-rw-r--r--oni-csharp.el5
1 files changed, 4 insertions, 1 deletions
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 <tom@ryuslash.org>
;; 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)