DEV Community

Discussion on: Installing neovim nightly alongside stable

Collapse
 
matteohertel profile image
Matteo Hertel

This is a great post thank you so much for sharing, I really wanted to check out 0.5 but I could not risk messing up my setup!

just a note: in the init.vim there is a missing endif at the end, without it neovim will throw an error

should be

" init.vim

let $NVIM_CONFIG_DIR = expand('$HOME/.config/nvim')

if has('nvim-0.5')
    " nightly config
    source $NVIM_CONFIG_DIR/nightly.vim
else
    " stable config
    source $NVIM_CONFIG_DIR/stable.vim
endif
Enter fullscreen mode Exit fullscreen mode

Thanks again!

Collapse
 
creativenull profile image
Arnold Chand

Thanks for that, I've updated the post 😅