NAME

Neovim::Ext::VIMCompat::Buffer - Neovim legacy VIM perl compatibility layer

VERSION

version 0.05

SYNPOSIS

        use Neovim::Ext;

DESCRIPTION

A compatibility layer for the legacy VIM perl interface.

METHODS

Name( )

Get the buffer name.

Number( )

Get the buffer number.

Count( )

Get the number of lines in the buffer.

Get( @lineNumbers )

Get the lines represented by @lineNumbers.

Delete( $start, [$end] )

Delete line $start in the buffer. If $end is specified, the range $start to $end will be deleted.

Append( $start, @lines )

Appends each line in @lines after $start.

Set( $start, @lines )

Replaces @lines starting at $start.