chromatica.nvim icon indicating copy to clipboard operation
chromatica.nvim copied to clipboard

foldmethod=syntax replacement?

Open ghost opened this issue 6 years ago • 1 comments

Greetings,

great plugin. However, foldmethod=syntax no longer works (doesn't fold). I assume because c.vim is no longer used when Chromatica is active. Would it be possible to restore this functionality?

ghost avatar Dec 28 '18 15:12 ghost

The problem is chromatica uses simplified c.vim and cpp.vim to handle the highlights that cannot be generated by libclang. They do not have the usual highlights the syntax folding relies on.

I can look into it, but not sure if this can be fixed.

arakashic avatar Jan 18 '19 02:01 arakashic