aboutsummaryrefslogtreecommitdiffstats
path: root/oni-csharp/oni-csharp.el
diff options
context:
space:
mode:
Diffstat (limited to 'oni-csharp/oni-csharp.el')
-rw-r--r--oni-csharp/oni-csharp.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/oni-csharp/oni-csharp.el b/oni-csharp/oni-csharp.el
index 44884ff..b15e163 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.0714.095918
+;; Version: 2020.0825.163721
;; Package-Requires: (csharp-mode oni-company oni-flycheck oni-yasnippet oni-hydra oni-fci oni-lsp smartparens)
;; This program is free software; you can redistribute it and/or modify
@@ -166,6 +166,11 @@ _cs_: Solution
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.csproj\\'" . nxml-mode))
+(add-to-list 'auto-insert-alist
+ `(,(rx ".proj" string-end)
+ nil
+ "<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\" ToolsVersion=\"4.0\">\n " _ "\n</Project>"))
+
;;;###autoload
(with-eval-after-load 'csharp-mode
(with-eval-after-load 'yasnippet