Skip to content

Commit a2ebfd5

Browse files
committed
Extend g:OmniSharp_edit_command docs
1 parent 96a73ec commit a2ebfd5

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

doc/omnisharp-vim.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,15 @@ Use this option to enable syntastic integration >
399399
-------------------------------------------------------------------------------
400400
3.7 MISCELLANEOUS *omnisharp-miscellaneous-options*
401401

402+
*g:OmniSharp_edit_command*
403+
Use this option to specify which command OmniSharp will use to open locations
404+
found via various commands (for instance `OmniSharpGotoDefinition` or
405+
`OmniSharpFindUsages`).
406+
Default: edit >
407+
let g:OmniSharp_edit_command = 'tabedit' " Open in new tab
408+
let g:OmniSharp_edit_command = 'split' " Open in horizontal split
409+
let g:OmniSharp_edit_command = 'vsplit' " Open in vertial split
410+
<
402411
*g:OmniSharp_lookup_metadata*
403412
When using `OmniSharpGotoDefinition` and `OmniSharpPreviewDefinition`,
404413
fall back to looking up metadata for compiled types.
@@ -432,13 +441,6 @@ completion suggestions. By default, only type/method signatures are fetched for
432441
performance reasons. Full documentation can still be fetched when needed using
433442
the |:OmniSharpDocumentation| command. Default: 1 >
434443
let g:omnicomplete_fetch_full_documentation = 1
435-
<
436-
*g:omnicomplete_edit_command*
437-
Use this option to specify which command OmniSharp will use to open locations
438-
found via various commands (for instance `OmniSharpGotoDefinition` or
439-
`OmniSharpFindUsages`).
440-
Default: edit >
441-
let g:OmniSharp_edit_command = 'tabedit'
442444
<
443445
===============================================================================
444446
4. COMMANDS *omnisharp-commands*

0 commit comments

Comments
 (0)