Some time ago neovim switched to use filetype.lua by default. I'm guessing that's the reason that git commit message the filetype isn't yet set on BufRead and BufReadPost, but after BufEnter. So the lastplace_ignore list doesn't work on neovim.
I don't know if you want to support that and change to autocmd, or if that breaks the opening fold for some reason.
Just letting you know, feel free to close :)
Edit: never mind, using BufEnter is just plain wrong.
Some time ago neovim switched to use
filetype.luaby default. I'm guessing that's the reason that git commit message the filetype isn't yet set onBufReadandBufReadPost, but afterBufEnter. So thelastplace_ignorelist doesn't work on neovim.I don't know if you want to support that and change to autocmd, or if that breaks the opening fold for some reason.
Just letting you know, feel free to close :)
Edit: never mind, using
BufEnteris just plain wrong.