@@ -354,6 +354,24 @@ Use this option to enable syntastic integration >
354354-------------------------------------------------------------------------------
3553553.7 MISCELLANEOUS *omnisharp-miscellaneous-options*
356356
357+ *g:OmniSharp_fold_kinds*
358+ The "kinds" of elements to fold with |:OmniSharpFold|. Possible values are:
359+
360+ // types
361+ class, delegate, enum, interface, struct
362+
363+ // members
364+ constant, constructor, destructor, enumMember, event, field, indexer,
365+ method, operator, property
366+
367+ // other
368+ namespace, unknown
369+
370+ An empty list means that _all_ kinds should be folded, when they span a range
371+ greater than 'foldminlines'.
372+ Default: [] >
373+ let g:OmniSharp_fold_kinds = ['method', 'constructor', 'destructor']
374+ <
357375 *g:OmniSharp_lookup_metadata*
358376When using `OmniSharpGotoDefinition` and `OmniSharpPreviewDefinition`,
359377fall back to looking up metadata for compiled types.
@@ -447,6 +465,13 @@ convenient user re-mapping. These can be used like so: >
447465:OmniSharpFixUsings
448466 Removes unused using directives
449467
468+ *:OmniSharpFold*
469+ *<Plug>(omnisharp_fold)*
470+ :OmniSharpFold
471+ Create folds around code structure elements such as methods and classes.
472+ Folds are only created for elements spanning over 'foldminlines' lines.
473+ The kinds of elements to fold can be configured with |g:OmniSharp_fold_kinds|
474+
450475 *:OmniSharpTypeLookup*
451476 *<Plug>(omnisharp_type_lookup)*
452477:OmniSharpTypeLookup
0 commit comments