C# (csharp)

Install Syntax Highlighting

:TSInstall c_sharp

Install Language Server

:LspInstall c#


The csharp language server OmniSharp supports formatting. Formatting is automatically enabled by installing the csharp language server. The formatting options can be changed by with the OmniSharp configuration optionsopen in new window.

clang-formatopen in new window can optionally be used as a C# formatter. After installing the clang-format the formatter is enabled with configuration. OmniSharp formatter is then automatically disabled.