DEV Community


Discussion on: Installing neovim nightly alongside stable

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
    " stable config
    source $NVIM_CONFIG_DIR/stable.vim
Enter fullscreen mode Exit fullscreen mode

Thanks again!

creativenull profile image
Arnold Chand Author

Thanks for that, I've updated the post 😅