Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>op.endofline

Dark deno-powered completion framework for neovim/Vim
Go to Latest
variable op.endofline
import { op } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { endofline } = op;

When writing a file and this option is off and the 'binary' option is on, or 'fixeol' option is off, no <EOL> will be written for the last line in the file. This option is automatically set or reset when starting to edit a new file, depending on whether file has an <EOL> for the last line in the file. Normally you don't have to set or reset this option. When 'binary' is off and 'fixeol' is on the value is not used when writing the file. When 'binary' is on or 'fixeol' is off it is used to remember the presence of a <EOL> for the last line in the file, so that when you write the file the situation from the original file can be kept. But you can change it if you want to. See eol-and-eof for example settings.

(default on)

type

LocalOption<boolean>