Skip to main content
Module

x/ddc_vim/deps.ts>fn.diff_filler

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

Returns the number of filler lines above line {lnum}. These are the lines that were inserted at this point in another diff'ed window. These filler lines are shown in the display but don't exist in the buffer. {lnum} is used like with |getline()|. Thus "." is the current line, "'m" mark m, etc. Returns 0 if the current window is not in diff mode. Can also be used as a |method|: GetLnum()->diff_filler()

Parameters

denops: Denops
lnum: number | string

Returns

Promise<number>