chrisgrieser / nvim-various-textobjs

Bundle of more than 30 new text objects for Neovim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: indentation object errors when at end of file

crides opened this issue · comments

Bug Description

when an indented line is at the end of a file, trying to select it will throw an "index out of bounds" error

Relevant Screenshot

No response

To Reproduce

  1. paste the following into a buffer:
a
    b
  1. place the cursor on the second line
  2. yii

neovim version

0.8.3

Make sure you have done the following

  • I have updated to the latest version of the plugin.

thanks, is fixed