I recently came to use NeoVim and I was trying to configure my vim to run a single file using :make
command (My g++ is from MinGW), I tried to use
:let &makeprg = 'g++ -Wall -Wextra -std=c++17 -o %< %'
and ran :make
, but it gives something like this:
Why is there a weird folder Temp\nvimHOQLoX
. How should I make my :make
to compile my c++ file? I tried to use :verbose make
and it gives this
I am able to run
make filename
in my Powershell but not in Neovim. Neovim is also using the Windows Powershell. !make %<
works find too but I'd like to know why the previous command doesn't work. Thanks in advance!
I figured out the reason thanks to @filbrandon. Thank you!
Temp\nvimHOQLoX
(perhapse it's the place where the quickfix lists are created)? If the folder doesent exist you can try to create it. – Fabrice Hategekimana Jan 6 at 13:17:verbose set shellpipe?
tell you? Please edit your question to include the result. And please post that as text, so we can actually read it. Thanks! – filbranden♦ Jan 6 at 14:46