Just installed neovim. I just created a file ~/.config/nvim/init.vim
. The init.vim
file only has one line:
set relativenumber
But then when I opened a file using the nvim
command (in Cygwin), the relative line numbers are not on. What is going on, and how can I fix it? My version is the latest stable release.
:verbose set relativenumber
?:verbose set relativenumber?
, which will query it. How about:echo $MYVIMRC
, or:e $MYVIMRC
to try to open it? The:version
command should list the location(s) where it will look for a vimrc file... Do those give you a clue about what might be going on?