From 742f8b4891fb7fcbd942b3e6a434d812c563fda2 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 29 Feb 2020 13:48:39 -0800 Subject: [PATCH] Enable smartparens mode in C# --- oni-csharp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oni-csharp.el b/oni-csharp.el index b718c6c..954ab70 100644 --- a/oni-csharp.el +++ b/oni-csharp.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.0229.133028 +;; Version: 2020.0229.134806 ;; Package-Requires: (csharp-mode omnisharp oni-company oni-flycheck) ;; This program is free software; you can redistribute it and/or modify @@ -92,6 +92,7 @@ (add-hook 'csharp-mode-hook 'omnisharp-mode) (add-hook 'csharp-mode-hook 'oni-csharp--auto-fill-mode) (add-hook 'csharp-mode-hook 'rainbow-delimiters-mode) +(add-hook 'csharp-mode-hook 'smartparens-mode) ;;;###autoload (add-to-list 'auto-mode-alist '("\\.xaml\\'" . nxml-mode))