If the directory value specified in the compile_commands.json file does not correspond to the source folder (but, for example, to a build folder somewhere else on the disk), libclang will fail to load the relative headers and syntax highlighting will not be available for some parts of the source file.
If the
directory
value specified in thecompile_commands.json
file does not correspond to the source folder (but, for example, to a build folder somewhere else on the disk), libclang will fail to load the relative headers and syntax highlighting will not be available for some parts of the source file.