From bc90f4c7a8bb2e47093803a1633cf27bf41b5f9c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 20 Sep 2021 20:16:35 -0700 Subject: [PATCH] =?UTF-8?q?Add=20=E2=80=98emacs-oni-csharp=E2=80=99=20pack?= =?UTF-8?q?age?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni/packages/emacs-config.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/oni/packages/emacs-config.scm b/oni/packages/emacs-config.scm index 2a960ed..a8da081 100644 --- a/oni/packages/emacs-config.scm +++ b/oni/packages/emacs-config.scm @@ -442,3 +442,24 @@ Emacs"))) ("emacs-oni-flycheck" ,emacs-oni-flycheck))) (synopsis "My Emacs C++ configuration") (description "This package provides my configuration for programming in C++."))) + +(define-public emacs-oni-csharp + (package + (inherit emacs-oni-config) + (name "emacs-oni-csharp") + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir-oni-csharp + (lambda _ (chdir "oni-csharp")))) + #:include '("\\.el$" "^snippets\\/"))) + (propagated-inputs + `(("emacs-csharp-mode" ,emacs-csharp-mode) + ("emacs-oni-company" ,emacs-oni-company) + ("emacs-oni-flycheck" ,emacs-oni-flycheck) + ("emacs-oni-yasnippet" ,emacs-oni-yasnippet) + ("emacs-oni-hydra" ,emacs-oni-hydra) + ("emacs-oni-lsp" ,emacs-oni-lsp) + ("emacs-oni-smartparens" ,emacs-oni-smartparens))) + (synopsis "My Emacs C# configuration") + (description "This package provides my configuration for programming in C#.")))