arakashic / chromatica.nvim

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

Reserved keywords not colored #41

Open davidkennedydev opened 6 years ago

davidkennedydev commented 6 years ago

image Why the while and if keywords are not colored?

arakashic commented 6 years ago

Thanks. Can you pull the latest version and see if the problem is still there?

davidkennedydev commented 6 years ago

Same problem with the last version (v0.3)

arakashic commented 6 years ago

Can you provide a minimal test.c and vimrc, so I can try on my side? I cannot reproduce this problem.

davidkennedydev commented 6 years ago

.vimrc

" Chromatica
let g:chromatica#libclang_path='/usr/lib64'
let g:chromatica#enable_at_startup=1
let g:chromatica#responsive_mode=1
let g:chromatica#highlight_feature_level=1

main.cc

#include <iostream>

int main(void)
{
  size_t quantity = 0;
  while (true) {
    if (true) {

    }
  }
  return 0;
}