Skip to main content
Module

x/denops_std/function/mod.ts>hostname

📚 Standard module for denops.vim
Go to Latest
function hostname
import { hostname } from "https://deno.land/x/denops_std@v6.4.0/function/mod.ts";

The result is a String, which is the name of the machine on which Vim is currently running. Machine names greater than 256 characters long are truncated.

Returns

Promise<string>