arakashic / chromatica.nvim

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

Chromatica not finding compilation args file eg. .clang, .color_coded when loading the file through :e command from nvim #75

Open shahratin opened 5 years ago

shahratin commented 5 years ago

Chromatica sees .clang file, if in terminal one first switched to the directory containing the file by "cd " command. But it does not, when opening nvim from any other directory and then editing that file through "e:" comman within nvim. It looks like chromatica gets search directory for such files through os.getcwd(), which may be causing the problem.