If vim is asked to open an already opened file at a certain line number, it will focus the editor where the file is being edited, but not at the correct line.
To reproduce:
$ printf "a\nb\nc\nd" > /tmp/foo
$ vim /tmp/foo
$ vim +4 /tmp/foo # should focus the fourth line but it will not
If vim is asked to open an already opened file at a certain line number, it will focus the editor where the file is being edited, but not at the correct line.
To reproduce: