Hi. I’m trying to use nvim with JUCE framework (C++).
compilation database from xcodebuild & xcpretty 0.3.0
In general, the lsp functionality works fine. I can jump to definition, etc. But there’s a problem which I’m at a loss trying to figure out.
JUCE has a macro that is added to all JUCE public class declarations.
It’s just “JUCE_API” that’s added in front of each declaration.
And something doesn’t like that. Each time it’s encountered, I guess it believes that it’s an attempt to declare a “JUCE_API” class, giving me an error “Variable has incomplete type ‘class JUCE_API’”.
Would someone help me out?