Skip to main content
Module

x/denops_std/function/vim/mod.ts>prop_type_get

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

Returns the properties of property type {name}. This is a dictionary with the same fields as was given to prop_type_add(). When the property type {name} does not exist, an empty dictionary is returned.

{props} can contain a "bufnr" item. When it is given, use this buffer instead of the global property types.

Can also be used as a method:

GetPropName()->prop_type_get()

Parameters

denops: Denops
name: unknown
optional
props: unknown

Returns

Promise<Record<string, unknown>>