From c7391fde3e5b86b758810b4132eb6c54fe3db588 Mon Sep 17 00:00:00 2001
From: AuPath <marco.au.grassi98@protonmail.com>
Date: Sat, 7 Nov 2020 11:46:39 +0100
Subject: [PATCH] gnu: Add emacs-csharp-mode.
* gnu/packages/emacs-xyz.scm (emacs-csharp-mode): New variable.
---
gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
@@ -11343,6 +11343,29 @@ constructs.")
configuration of Chinese fonts.")
(license license:gpl2+)))
+(define-public emacs-csharp-mode
+ (package
+ (name "emacs-csharp-mode")
+ (version "0.10.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/josteink/csharp-mode")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0vwkbla2gkfa9dzxfvrvr7hd2z16769iwbycl7k6l701dnwli1fw"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/josteink/csharp-mode")
+ (synopsis "Major mode for C# code")
+ (description "This is a C# editing mode for Emacs, based on CC mode. It
+handles syntax coloring, indentation, insertion of matched pairs of curly
+braces and documentation generation. In addition, it provides menu-based
+navigation using Imenu, and Compilation mode support for MSBuild, devenv and
+xbuild.")
+ (license license:gpl2+)))
+
(define-public emacs-php-mode
(package
(name "emacs-php-mode")
--
2.29.2