aboutsummaryrefslogtreecommitdiffstats
path: root/oni-csharp
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-04-07 12:01:05 -0700
committerGravatar Tom Willemse2020-04-07 12:01:05 -0700
commit8121df576e71b42dc3b2e03b89dadd64656a92b9 (patch)
treec31afad18299f7b6acdaed341fc1d436a99136f7 /oni-csharp
parent6642c7d717313a81a654a922ae8df10d302f0eef (diff)
downloademacs-config-8121df576e71b42dc3b2e03b89dadd64656a92b9.tar.gz
emacs-config-8121df576e71b42dc3b2e03b89dadd64656a92b9.zip
Use ‘nxml-mode’ for ‘.proj’ and ‘.targets’ files
Both of these file types are used for MSBuild.
Diffstat (limited to 'oni-csharp')
-rw-r--r--oni-csharp/oni-csharp.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/oni-csharp/oni-csharp.el b/oni-csharp/oni-csharp.el
index d22fb28..64124af 100644
--- a/oni-csharp/oni-csharp.el
+++ b/oni-csharp/oni-csharp.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2020.0327.170006
+;; Version: 2020.0407.114436
;; Package-Requires: (csharp-mode omnisharp oni-company oni-flycheck oni-yasnippet oni-hydra oni-fci smartparens)
;; This program is free software; you can redistribute it and/or modify
@@ -168,6 +168,12 @@ _cs_: Solution ^^ _mr_: Reload Solution
(add-to-list 'auto-mode-alist '("\\.xaml\\'" . nxml-mode))
;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.targets\\'" . nxml-mode))
+
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.proj\\'". nxml-mode))
+
+;;;###autoload
(add-to-list 'auto-mode-alist '("\\.csproj\\'" . nxml-mode))
;;;###autoload