"E315: ml_get: invalid lnum: 87" error in vim

When I try to change the tab using gt , this error occurred:

 "E315: ml_get: invalid lnum: 87" 

You can see it in the following figure: enter image description here

If you need more information, comment on this.

+6
source share
2 answers

An unfamiliar mistake in Vim! What are you doing?

That's what:

  • Take a look.

     :h E315 
  • Read what he says.

    This is an internal Vim error. Try to figure out how to reproduce it, and send an error report | bugreport.vim |.

  • Understand what he is saying.

    This is a bug in Vim.

  • Law.

    Examine the error conditions and report the error on the vim_dev mailing list .

+10
source

It always appears where I opened the nerdtree plugin.

My solution adds:

 " in .vimrc let g:NERDTreeWinPos = "right" 

This works for me. Good luck.

0
source

Source: https://habr.com/ru/post/951581/


All Articles