I was trying to migrate to neovim from vim. But in the end, there's some plugins which require python3 support and neovim package doesn't build with python3 by default( I'm on ubuntu, install neovim package according to the official documentation on the website ), finally I give up, it just seems complicated.
but now the problem I'm facing that I need to switch back to vim. the major difference is the path to vim directory. in neovim, the path is
~/.config/nvim/, in vim, the path is
I want to keep the most part of my vimrc unchanged. So I would like to use some conditional statement to judge if the current vim is neovim or regular vim.
Is there anyway to achieve this?