How can I set vim's system header path?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
tjarjoura
Posts: 1
Joined: Sun Nov 27, 2016 12:57 pm

How can I set vim's system header path?

Post by tjarjoura »

So I've been following the Meaty Skeleton tutorial. I've cloned the meaty-skeleton repo and all of the libc/libk headers are installed with sysroot/usr/include. But when I'm editing the code, vim(or I guess the syntastic plugin) expects these headers to be in /usr/include. How do I tell it that the headers will actually be found in sysroot/usr/include?
User avatar
iansjack
Member
Member
Posts: 4706
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: How can I set vim's system header path?

Post by iansjack »

Post Reply