Skip to content

Commit bc33c92

Browse files
committed
Use stdio guard properly
1 parent bcdf0c3 commit bc33c92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/OmniSharp/actions/fold.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set cpoptions&vim
44
function! OmniSharp#actions#fold#Create() abort
55
if !g:OmniSharp_server_stdio
66
echomsg 'This functionality is only available with the stdio server'
7+
return
78
endif
89
call OmniSharp#actions#codestructure#Get(bufnr('%'), 1,
910
\ function('s:CreateFolds'))

0 commit comments

Comments
 (0)