Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ddc_vim/deps.ts>fn.hostname

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.hostname
import { fn } from "https://deno.land/x/ddc_vim@v4.0.5/deps.ts";
const { hostname } = fn;

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>