Moved add-hook calls (for tree-sitter initialization) into their respective modes' config blocks, or nearby, to be consistent with how other, similar tools (like lsp!) are initialized, and does so at runtime, rather than at expansion/compile time, which eval-when! caused. |
||
---|---|---|
.. | ||
autoload.el | ||
config.el | ||
doctor.el | ||
packages.el | ||
README.org |
:lang csharp
Table of Contents TOC
Description
This module adds C# support to Emacs. Powered by omnisharp (directly or through LSP).
Module Flags
+lsp
Enables omnisharp through LSP support (requires omnisharp).+unity
Enables special support for the Unity game engine (particularly, support for HLSL shaders).+dotnet
Enables Dotnet transient interface with Sharper
Plugins
- csharp-mode
- csproj-mode
- omnisharp* (not
+lsp
) - shader-mode* (
+unity
) - sharper (
+dotnet
)
Prerequisites
This module needs:
- omnisharp (with the
+lsp
flag, this must be installed externally. Without it, useM-x omnisharp-install-server
) - .NET SDKs (on Windows)
- Mono (on UNIX platforms)
- .NET Core 1.X - 3.X or .NET 5 for cross platform
TODO MacOS
Arch Linux
sudo pacman --needed --noconfirm -S mono