This question already has an answer here:
I want one vimrc to work with both Vim and NeoVim. The vimrc of Vim seems to work well with NeoVim. But not the other way around, given that there are many special new settings in NeoVim, e.g., terminal mode.
I want not to manage two individual vimrc files needed to be sync'd periodically.
Is there a way within .vimrc to let some statements work with NeoVim alone?