kassio/neoterm

Unable to open neoterm anymore after updating to the latest version.

Closed this issue · 2 comments

If I do :Tnew

I get this error message:

Error detected while processing function neoterm#new[15]..13:
line    4:W10: Warning: Changing a readonly file
Press ENTER or type command to continue

This affects both Tnew and Ttoggle.

However, this works fine: vert Ttoggle or vert Tnew.

OS: Mac OS X 10.13.4
NeoVim Version: v0.2.2

Are you trying to replace a readonly file? :Tnew will use the current window if no mod is passed. Check :help g:neoterm_default_mod.

That's indeed the problem!
This issue only seems to happen when I call :Tnew from the vim-startify buffer.

Going to close this ticket.