How do I write vimrc configuration that works in both Vim and Neovim by detecting which one is running?
has('nvim')
The has() function tests whether a feature or capability is available, returning 1 (true) or 0 (false).
has('nvim')
The has() function tests whether a feature or capability is available, returning 1 (true) or 0 (false).