Fix up typo and phrasing in README & add g:ycm_csharp_server_port to youcompleteme.txt in doc

This commit is contained in:
Andrew Khosravian 2015-01-27 14:36:27 -08:00
parent 9e58245088
commit 7cf0bfc834
2 changed files with 14 additions and 3 deletions

View File

@ -1253,9 +1253,9 @@ Default: `1`
### The `g:ycm_csharp_server_port` option
When g:ycm_auto_start_csharp_server set to `1`, specifies the port for
the OmniSharp server to listen on. When set to `0` uses the OS default
behavior.
When g:ycm_auto_start_csharp_server is set to `1`, specifies the port for
the OmniSharp server to listen on. When set to `0` uses an unused port provided
by the OS.
Default: `0`

View File

@ -1460,6 +1460,17 @@ closing Vim.
Default: '1'
>
let g:ycm_auto_stop_csharp_server = 1
-------------------------------------------------------------------------------
The *g:ycm_csharp_server_port* option
When g:ycm_auto_start_csharp_server is set to '1', specifies the port for
the OmniSharp server to listen on. When set to '0' uses an unused port provided
by the OS.
Default: '0'
>
let g:ycm_csharp_server_port = 0
<
-------------------------------------------------------------------------------
The *g:ycm_add_preview_to_completeopt* option