From be1b3d298cd76b27d40963dd28375251693cd012 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 26 Sep 2019 14:20:25 -0400 Subject: [PATCH] lang/csharp: update README --- modules/lang/csharp/README.org | 43 +++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/modules/lang/csharp/README.org b/modules/lang/csharp/README.org index 6006e1689..4f3bd5b27 100644 --- a/modules/lang/csharp/README.org +++ b/modules/lang/csharp/README.org @@ -1,28 +1,39 @@ #+TITLE: :lang csharp -This module adds C# support to Emacs. - -#+begin_quote -I don't use C# for much else than Unity3D and, seldomly, for Mono game -development on Linux. -#+end_quote - * Table of Contents :TOC: -- [[Install][Install]] - - [[MacOS][MacOS]] - - [[Arch Linux][Arch Linux]] +- [[#description][Description]] + - [[#module-flags][Module Flags]] + - [[#plugins][Plugins]] +- [[#prerequisites][Prerequisites]] + - [[#macos][MacOS]] + - [[#arch-linux][Arch Linux]] + - [[#nixos][NixOS]] -* Install +* Description +This module adds C# support to Emacs. Powered by omnisharp (directly or through +LSP). + +** Module Flags ++ =+lsp= Enables omnisharp through LSP support (requires) ++ =+unity= Enables special support for the [[https://unity.com/][Unity game engine]] (particularly, + support for HLSL shaders). + +** Plugins ++ [[https://github.com/josteink/csharp-mode][csharp-mode]] ++ [[https://github.com/OmniSharp/omnisharp-emacs][omnisharp]]* (not =+lsp=) ++ [[https://github.com/midnightSuyama/shader-mode][shader-mode]]* (=+unity=) + +* Prerequisites This module needs: -+ omnisharp-roslyn (install with ~M-x omnisharp-install-server~) ++ omnisharp (with the ~+lsp~ flag, this must be installed externally. Without + it, use ~M-x omnisharp-install-server~) + .NET SDKs (on Windows) + Mono (on UNIX platforms) -** MacOS -=TODO= - +** TODO MacOS ** Arch Linux -#+BEGIN_SRC sh :dir /sudo:: :tangle (if (doom-system-os 'arch) "yes") +#+BEGIN_SRC sh sudo pacman --needed --noconfirm -S mono #+END_SRC +** TODO NixOS