Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coc-extensions/coc-omnisharp
OmniSharp integration for coc.nvim
https://github.com/coc-extensions/coc-omnisharp
Last synced: 5 days ago
JSON representation
OmniSharp integration for coc.nvim
- Host: GitHub
- URL: https://github.com/coc-extensions/coc-omnisharp
- Owner: coc-extensions
- License: mit
- Created: 2019-07-10T17:40:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T06:31:12.000Z (over 1 year ago)
- Last Synced: 2024-05-28T16:08:27.043Z (6 months ago)
- Language: TypeScript
- Size: 155 KB
- Stars: 118
- Watchers: 7
- Forks: 11
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# coc-omnisharp
## ⛔ This project is lacking proper maintanence. I would recommend [csharp-ls](https://github.com/razzmatazz/csharp-language-server) at this moment.
I may work on the integration of `csharp-ls` in the future, but now please manually set it up.`dotnet tool install --global csharp-ls`
`:CocConfig`
```json
{
"languageserver": {
"csharp-ls": {
"command": "csharp-ls",
"filetypes": ["cs"],
"rootPatterns": ["*.csproj", ".vim/", ".git/", ".hg/"]
}
}
}
```=== Original README below ===
A vim plugin powered by
[OmniSharp](https://github.com/omnisharp/omnisharp-roslyn) and
[coc.nvim](https://github.com/neoclide/coc.nvim).## Prerequisites
1. Vim 8.0+ or NeoVim
2. [dotnet](http://dot.net)
3. [coc.nvim](https://github.com/neoclide/coc.nvim)## Installation
`coc-omnisharp` is an extension for `coc.nvim`.
You can install `coc.nvim` with a plugin manager like [vim-plug](https://github.com/junegunn/vim-plug):
```vimL
Plug 'neoclide/coc.nvim', {'branch': 'release'}
```Then, use `:CocInstall coc-omnisharp` to install.
Alternatively, you can have `coc.nvim` automatically install the extension if it's missing:
```vimL
let g:coc_global_extensions=[ 'coc-omnisharp', ... ]
```## Configuration
You can call `:CocConfig` to edit configuration. Available options are:
| Key | Description | Type | Default |
| ---------------------- | ---------------------------------- | ---------------------- | ----------- |
| omnisharp.version | Download a specific version | string | latest |
| omnisharp.path | For use with existing installation | string | |
| omnisharp.trace.server | Specify trace level | information \| verbose | information |
| omnisharp.debug.server | Wait for debugger | boolean | false |#### Example configuration:
```json
{
"omnisharp.version": "v1.37.3",
"omnisharp.trace.server": "information",
"omnisharp.debug.server": true
}
```## Recommended plugins
[vim-polyglot](https://github.com/sheerun/vim-polyglot) for syntax highlighting 🎨