Skip to main content
Module

x/ddc_vim/deps.ts>fn.tabpagenr

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.tabpagenr
import { fn } from "https://deno.land/x/ddc_vim@v0.0.13/deps.ts";
const { tabpagenr } = fn;

The result is a Number, which is the number of the current tab page. The first tab page has number 1. When the optional argument is "$", the number of the last tab page is returned (the tab page count). The number can be used with the |:tab| command.

Parameters

denops: Denops
optional
arg: unknown

Returns

Promise<unknown>