I installed neovim on MacOS Big Sur via homebrew. Then created the init.vim using vim-bootstrap (the languages I picked were C, Go, Haskell, Ocaml, and Rust) and put it on ~/.config/nvim/init.vim.

Then I opened a C code file and neovim automatically pulled some C-related plugins. Overall seemed OK.

When opening another code files, nvim complained about "command not found" on init.vim. After some inspection, I guess because Haskell and Ocaml compilers hadn't been installed. So I wiped the entire nvim config directory, and created a new init.vim (without Haskell and Ocaml).

I ran nvim, then saw this errors. How to fix these?

enter image description here

  • 1
    Just remove everything inside init.vim.
    – jdhao
    Nov 25 at 7:04
  • 1
    you have references to the vim-plug plugin inside your vimrc, but you haven't installed it. So either remove those Plug sections, or install vim-plug pluginmanager Nov 25 at 10:48
  • Please don't post screenshots of your terminal - you can copy the text and edit your question to paste the text.
    – guntbert
    Nov 26 at 23:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.