Quantcast
Viewing all articles
Browse latest Browse all 8

Re: How to get currently-connected server?

One simple way could be to use Vim::get_service_url().  This will return the full URL which you can parse.  I'm not sure if there is a simple host portion, but you could instantiate a URI object from the service_url and extract the host part.


Viewing all articles
Browse latest Browse all 8

Trending Articles