arakashic / chromatica.nvim

Clang based syntax highlighting for Neovim
MIT License
299 stars 17 forks source link

Can't find compile_commands.json or .clang file on Windows #53

Closed notAlaanor closed 6 years ago

notAlaanor commented 6 years ago

:ChromaticaShowInfo tells me that neither a .clang or compile_commands.json are found, even though both exist in the root of the cd path in Neovim. The log files show me that Chromatica is looking for Clang includes and executables in /usr/bin which is not a directory on Windows 10. I have already supplied Chromatica with the dynamic library of libclang (libclang.dll) and it still seems to be looking elsewhere. Is this perhaps a conflict with the Windows Linux Subsystem or MSYS2 (both of which provide Linux-like tools), as I have both installed? I am doing everything within nvim-qt. Thank you for this plugin, and your time.

notAlaanor commented 6 years ago

Okay, it seems the issue lies with Neovim cd paths, starting nvim-qt from the command line in the working directory seemed to fix it, so I guess I'll close this, but I'd like to point out that the .clang file format doesn't seem to match up against any other plugin (where each line is a flag, instead of having a flags= keyword), which could be an issue using this plugin alongside a completion plugin.