Skip to content

Commit

Permalink
Add csharp lsp support (#1788)
Browse files Browse the repository at this point in the history
* add csharp lsp support

* remove hostPID

* update docs
  • Loading branch information
Dispersia committed Mar 12, 2022
1 parent cf8f59d commit 0712eb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
| --- | --- | --- | --- | --- |
| bash || | | `bash-language-server` |
| c |||| `clangd` |
| c-sharp || | | |
| c-sharp || | | `OmniSharp` |
| cmake |||| `cmake-language-server` |
| comment || | | |
| cpp |||| `clangd` |
Expand Down
3 changes: 2 additions & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0712eb3

Please sign in to comment.