diff options
author | Aaron Housh | 2022-03-12 00:19:31 +0000 |
---|---|---|
committer | GitHub | 2022-03-12 00:19:31 +0000 |
commit | 0712eb3e3b66005ac6b768159e8eaef1d92fc97a (patch) | |
tree | fe3450cf7de8665ecb93164e3c79a36ae62bbc4f | |
parent | cf8f59ddd0fa6a18b52fc14cf1f3722b494a5be3 (diff) |
Add csharp lsp support (#1788)
* add csharp lsp support
* remove hostPID
* update docs
-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" |