Skip to main content
Module

x/denops_std/option/mod.ts>fixendofline

📚 Standard module for denops.vim
Go to Latest
variable fixendofline
import { fixendofline } from "https://deno.land/x/denops_std@v4.1.0/option/mod.ts";

When writing a file and this option is on, at the end of file will be restored if missing. Turn this option off if you want to preserve the situation from the original file. When the 'binary' option is set the value of this option doesn't matter. See the 'endofline' option.

type

{ get(denops: Denops): Promise<boolean>; set(denops: Denops, value: boolean): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<boolean>; setLocal(denops: Denops, value: boolean): Promise<void>; resetLocal(denops: Denops): Promise<void>; }