diff options
-rw-r--r-- | book/src/generated/lang-support.md | 2 | ||||
-rw-r--r-- | languages.toml | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 62a2734b..70edafb9 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -2,7 +2,7 @@ | --- | --- | --- | --- | --- | | bash | ✓ | | | `bash-language-server` | | c | ✓ | ✓ | ✓ | `clangd` | -| c-sharp | ✓ | | | | +| c-sharp | ✓ | | | `OmniSharp` | | cmake | ✓ | ✓ | ✓ | `cmake-language-server` | | comment | ✓ | | | | | cpp | ✓ | ✓ | ✓ | `clangd` | diff --git a/languages.toml b/languages.toml index 4c2bb1c4..c54eabba 100644 --- a/languages.toml +++ b/languages.toml @@ -206,9 +206,10 @@ name = "c-sharp" scope = "source.csharp" injection-regex = "c-?sharp" file-types = ["cs"] -roots = [] +roots = ["sln", "csproj"] comment-token = "//" indent = { tab-width = 4, unit = "\t" } +language-server = { command = "OmniSharp", args = [ "--languageserver", "--stdio" ] } [[grammar]] name = "c-sharp" |