Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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@v5.0.2/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>