blob: 19ff56406a7ab7fd793ca85c47cf91acc50e6a7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
" Check if only the socketserver backend is available for clientserver (only on
" Unix), and set g:socketserver_only to v:true along with starting the
" socketserver.
command TrySocketServer call TrySocketServer()
func TrySocketServer()
if has("socketserver") && !has("x11")
let g:socketserver_only = v:true
if v:servername == ""
call remote_startserver('MNVSOCKETSERVERTEST')
endif
else
let g:socketserver_only = v:false
endif
endfunc
" mnv: shiftwidth=2 sts=2 expandtab
|