Sunday, March 6, 2011

Re: Using VIM with Clang

Seeing the list of commands made me wonder where I did set the
compiler....which is something I've should have spotted earlier as
that is what the problem was. Essentially typing:

vim hello.cpp
:compiler clang
:set makeprg=clang++
:make hello.cpp

while putting the following script in the compiler directory:
http://www.vim.org/scripts/script.php?script_id=3259 works as expected
(although the behavior still differs form compiling with gcc).

I feel stupid for not spotting this sooner. :-( Sorry for the noise!

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment