Vim Tips Wiki
Advertisement

Negate g:fixeof control variable

The instructions for using the fixeof variable read: g:fixeof - 1=>fix cursor also near end-of-file; 0=>no. Default:0

If I'm reading this correctly, the code dealing with this is backwards. Line 93 (version 2006-09-10) reads

 if g:fixeof

but should be negated to match the instructions given above.

 if !g:fixeof
Advertisement