From 7cf0bfc8341ed13c259f86e19594c06c9433461a Mon Sep 17 00:00:00 2001 From: Andrew Khosravian Date: Tue, 27 Jan 2015 14:36:27 -0800 Subject: [PATCH] Fix up typo and phrasing in README & add g:ycm_csharp_server_port to youcompleteme.txt in doc --- README.md | 6 +++--- doc/youcompleteme.txt | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index df84eaf8..97b6687f 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/doc/youcompleteme.txt b/doc/youcompleteme.txt index 2bd0737e..fa046203 100644 --- a/doc/youcompleteme.txt +++ b/doc/youcompleteme.txt @@ -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