Skip to main content
Deno 2 is finally 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.1.0/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>