arakashic / chromatica.nvim

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

chromatica doesn't work with clang 7 #58

Closed ZWindL closed 5 years ago

ZWindL commented 5 years ago

Distro: ArchLinux with testing on. Neovim version: 0.3.1 log

2018-10-01 17:12:33,065 INFO     (chromatica.logging) --- Chromatica Log Start ---
2018-10-01 17:12:33,070 INFO     (chromatica.logging) NVIM v0.3.1, Python 3.7.0, neovim client 0.2.6
2018-10-01 17:12:33,071 INFO     (chromatica.core) --------- runtime variables ---------
2018-10-01 17:12:33,071 INFO     (chromatica.core) g:chromatica#_channel_id=6
2018-10-01 17:12:33,071 INFO     (chromatica.core) g:chromatica#enable_profiling=1
2018-10-01 17:12:33,071 INFO     (chromatica.core) g:chromatica#highlight_feature_level=1
2018-10-01 17:12:33,071 INFO     (chromatica.core) g:chromatica#delay_ms=80
2018-10-01 17:12:33,071 INFO     (chromatica.core) g:chromatica#libclang_path=/usr/lib/libclang.so
2018-10-01 17:12:33,072 INFO     (chromatica.core) g:chromatica#dotclangfile_search_path=
2018-10-01 17:12:33,072 INFO     (chromatica.core) g:chromatica#responsive_mode=1
2018-10-01 17:12:33,072 INFO     (chromatica.core) g:chromatica#enable_at_startup=1
2018-10-01 17:12:33,072 INFO     (chromatica.core) g:chromatica#syntax_src_id=100
2018-10-01 17:12:33,072 INFO     (chromatica.core) g:chromatica#enable_log=1
2018-10-01 17:12:33,072 INFO     (chromatica.core) g:chromatica#use_pch=1
2018-10-01 17:12:33,072 INFO     (chromatica.core) -------------------------------------
2018-10-01 17:12:33,139 INFO     (chromatica.core) clang version 7.0.0 (tags/RELEASE_700/final)
2018-10-01 17:12:33,139 INFO     (chromatica.core) Target: x86_64-pc-linux-gnu
2018-10-01 17:12:33,139 INFO     (chromatica.core) Thread model: posix
2018-10-01 17:12:33,140 INFO     (chromatica.core) InstalledDir: /usr/bin
2018-10-01 17:12:33,140 INFO     (chromatica.core) Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/8.2.1
2018-10-01 17:12:33,140 INFO     (chromatica.core) Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
2018-10-01 17:12:33,140 INFO     (chromatica.core) Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1
2018-10-01 17:12:33,140 INFO     (chromatica.core) Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1
2018-10-01 17:12:33,140 INFO     (chromatica.core) Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1
2018-10-01 17:12:33,140 INFO     (chromatica.core) Candidate multilib: .;@m64
2018-10-01 17:12:33,140 INFO     (chromatica.core) Candidate multilib: 32;@m32
2018-10-01 17:12:33,140 INFO     (chromatica.core) Selected multilib: .;@m64
2018-10-01 17:12:33,140 INFO     (chromatica.core)  "/usr/bin/clang-7" -cc1 -triple x86_64-pc-linux-gnu -E -disable-free -disable-llvm-verifier -discard-value-names -main-file-name - -mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -v -resource-dir /usr/lib/clang/7.0.0 -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../include/c++/8.2.1 -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../include/c++/8.2.1/x86_64-pc-linux-gnu -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../include/c++/8.2.1/backward -internal-isystem /usr/local/include -internal-isystem /usr/lib/clang/7.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -fdebug-compilation-dir /home/zwindl/project/srain -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o - -x c++ - -faddrsig
2018-10-01 17:12:33,140 INFO     (chromatica.core) clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target x86_64-pc-linux-gnu
2018-10-01 17:12:33,140 INFO     (chromatica.core) ignoring nonexistent directory "/include"
2018-10-01 17:12:33,140 INFO     (chromatica.core) #include "..." search starts here:
2018-10-01 17:12:33,140 INFO     (chromatica.core) #include <...> search starts here:
2018-10-01 17:12:33,141 INFO     (chromatica.core)  /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../include/c++/8.2.1
2018-10-01 17:12:33,141 INFO     (chromatica.core)  /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../include/c++/8.2.1/x86_64-pc-linux-gnu
2018-10-01 17:12:33,141 INFO     (chromatica.core)  /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../include/c++/8.2.1/backward
2018-10-01 17:12:33,141 INFO     (chromatica.core)  /usr/local/include
2018-10-01 17:12:33,141 INFO     (chromatica.core)  /usr/lib/clang/7.0.0/include
2018-10-01 17:12:33,141 INFO     (chromatica.core)  /usr/include
2018-10-01 17:12:33,141 INFO     (chromatica.core) End of search list.
2018-10-01 17:12:33,141 INFO     (chromatica.core) # 1 "<stdin>"
2018-10-01 17:12:33,141 INFO     (chromatica.core) # 1 "<built-in>" 1
2018-10-01 17:12:33,141 INFO     (chromatica.core) # 1 "<built-in>" 3
2018-10-01 17:12:33,141 INFO     (chromatica.core) # 394 "<built-in>" 3
2018-10-01 17:12:33,141 INFO     (chromatica.core) # 1 "<command line>" 1
2018-10-01 17:12:33,141 INFO     (chromatica.core) # 1 "<built-in>" 2
2018-10-01 17:12:33,141 INFO     (chromatica.core) # 1 "<stdin>" 2
2018-10-01 17:12:33,141 INFO     (chromatica.core) 
2018-10-01 17:12:33,142 INFO     (chromatica.core) -------------------------------------
2018-10-01 17:12:33,271 INFO     (chromatica.compile_args) Read cdb for: /home/zwindl/project/srain/src/core/chat_command.c
2018-10-01 17:12:33,271 DEBUG    (chromatica.core) filename: /home/zwindl/project/srain/src/core/chat_command.c
2018-10-01 17:12:33,272 DEBUG    (chromatica.core) args: gcc -std=gnu99 -O2 -Wall -I/home/zwindl/project/srain/src/inc -Iinc -Wno-deprecated-declarations -D -D PACKAGE_NAME="Srain" -D PACKAGE_VERSION="1.0.0rc1" -D PACKAGE_BUILD="-git@0.1074.8520572" -D PACKAGE_APPID="im.srain.Srain" -D PACKAGE_AUTHOR="Shengyu Zhang" -D PACKAGE_EMAIL="i@silverrainz.me" -D PACKAGE_DESC="Modern, beautiful IRC client written in GTK+ 3." -D PACKAGE_WEBSITE="https://srain.im" -D PACKAGE_DATA_DIR="/home/zwindl/project/srain/build" -D PACKAGE_CONFIG_DIR="/home/zwindl/project/srain/build/etc" -D PACKAGE_COPYRIGHT_DATES="2016 - 2018" -I/usr/include/gtk-3.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/fribidi -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/uuid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/lib/dbus-1.0/include -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libsoup-2.4 -I/usr/include/glib-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/lib/libffi-3.2.1/include -pthread -I/usr/include/libmount -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/libxml2 -ggdb
2018-10-01 17:12:33,300 DEBUG    (chromatica.core) [profile] parse index.parse: 0.020319s
2018-10-01 17:12:33,311 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:33,371 DEBUG    (chromatica.core) [profile] _highlight: 0.017553s
2018-10-01 17:12:33,873 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:33,891 DEBUG    (chromatica.core) [profile] _highlight: 0.015136s
2018-10-01 17:12:34,031 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:34,050 DEBUG    (chromatica.core) [profile] _highlight: 0.013768s
2018-10-01 17:12:34,193 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:34,203 DEBUG    (chromatica.core) [profile] _highlight: 0.009851s
2018-10-01 17:12:34,384 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:34,392 DEBUG    (chromatica.core) [profile] _highlight: 0.009056s
2018-10-01 17:12:34,892 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:34,902 DEBUG    (chromatica.core) [profile] _highlight: 0.010936s
2018-10-01 17:12:35,062 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:35,072 DEBUG    (chromatica.core) [profile] _highlight: 0.010338s
2018-10-01 17:12:35,871 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:35,881 DEBUG    (chromatica.core) [profile] _highlight: 0.010514s
2018-10-01 17:12:36,009 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:36,019 DEBUG    (chromatica.core) [profile] _highlight: 0.010841s
2018-10-01 17:12:36,151 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:36,160 DEBUG    (chromatica.core) [profile] _highlight: 0.009951s
2018-10-01 17:12:36,510 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:36,520 DEBUG    (chromatica.core) [profile] _highlight: 0.010133s
2018-10-01 17:12:36,667 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:36,676 DEBUG    (chromatica.core) [profile] _highlight: 0.009728s
2018-10-01 17:12:36,820 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:36,828 DEBUG    (chromatica.core) [profile] _highlight: 0.008548s
2018-10-01 17:12:37,099 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,109 DEBUG    (chromatica.core) [profile] _highlight: 0.009941s
2018-10-01 17:12:37,714 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,727 DEBUG    (chromatica.core) [profile] _highlight: 0.013194s
2018-10-01 17:12:37,732 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,744 DEBUG    (chromatica.core) [profile] _highlight: 0.011793s
2018-10-01 17:12:37,749 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,761 DEBUG    (chromatica.core) [profile] _highlight: 0.012042s
2018-10-01 17:12:37,765 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,776 DEBUG    (chromatica.core) [profile] _highlight: 0.010584s
2018-10-01 17:12:37,800 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,813 DEBUG    (chromatica.core) [profile] _highlight: 0.012508s
2018-10-01 17:12:37,820 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,829 DEBUG    (chromatica.core) [profile] _highlight: 0.009746s
2018-10-01 17:12:37,851 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,861 DEBUG    (chromatica.core) [profile] _highlight: 0.011154s
2018-10-01 17:12:37,866 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,876 DEBUG    (chromatica.core) [profile] _highlight: 0.010489s
2018-10-01 17:12:37,898 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,908 DEBUG    (chromatica.core) [profile] _highlight: 0.009844s
2018-10-01 17:12:37,933 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,947 DEBUG    (chromatica.core) [profile] _highlight: 0.012591s
2018-10-01 17:12:37,954 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,964 DEBUG    (chromatica.core) [profile] _highlight: 0.011473s
2018-10-01 17:12:37,969 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,981 DEBUG    (chromatica.core) [profile] _highlight: 0.010536s
2018-10-01 17:12:37,987 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:37,999 DEBUG    (chromatica.core) [profile] _highlight: 0.012841s
2018-10-01 17:12:38,004 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,019 DEBUG    (chromatica.core) [profile] _highlight: 0.014002s
2018-10-01 17:12:38,025 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,034 DEBUG    (chromatica.core) [profile] _highlight: 0.009986s
2018-10-01 17:12:38,039 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,053 DEBUG    (chromatica.core) [profile] _highlight: 0.012228s
2018-10-01 17:12:38,059 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,070 DEBUG    (chromatica.core) [profile] _highlight: 0.011628s
2018-10-01 17:12:38,075 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,086 DEBUG    (chromatica.core) [profile] _highlight: 0.010609s
2018-10-01 17:12:38,091 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,103 DEBUG    (chromatica.core) [profile] _highlight: 0.011672s
2018-10-01 17:12:38,108 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,119 DEBUG    (chromatica.core) [profile] _highlight: 0.010923s
2018-10-01 17:12:38,125 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,134 DEBUG    (chromatica.core) [profile] _highlight: 0.009271s
2018-10-01 17:12:38,139 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,153 DEBUG    (chromatica.core) [profile] _highlight: 0.011798s
2018-10-01 17:12:38,159 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,167 DEBUG    (chromatica.core) [profile] _highlight: 0.008854s
2018-10-01 17:12:38,172 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,186 DEBUG    (chromatica.core) [profile] _highlight: 0.010895s
2018-10-01 17:12:38,191 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,200 DEBUG    (chromatica.core) [profile] _highlight: 0.009206s
2018-10-01 17:12:38,205 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,214 DEBUG    (chromatica.core) [profile] _highlight: 0.008069s
2018-10-01 17:12:38,223 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,231 DEBUG    (chromatica.core) [profile] _highlight: 0.008210s
2018-10-01 17:12:38,261 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,268 DEBUG    (chromatica.core) [profile] _highlight: 0.007622s
2018-10-01 17:12:38,274 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,279 DEBUG    (chromatica.core) [profile] _highlight: 0.005558s
2018-10-01 17:12:38,289 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,295 DEBUG    (chromatica.core) [profile] _highlight: 0.006148s
2018-10-01 17:12:38,329 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,338 DEBUG    (chromatica.core) [profile] _highlight: 0.007581s
2018-10-01 17:12:38,361 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,369 DEBUG    (chromatica.core) [profile] _highlight: 0.007134s
2018-10-01 17:12:38,375 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,382 DEBUG    (chromatica.core) [profile] _highlight: 0.007279s
2018-10-01 17:12:38,390 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,397 DEBUG    (chromatica.core) [profile] _highlight: 0.006410s
2018-10-01 17:12:38,407 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,412 DEBUG    (chromatica.core) [profile] _highlight: 0.006192s
2018-10-01 17:12:38,424 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,430 DEBUG    (chromatica.core) [profile] _highlight: 0.006179s
2018-10-01 17:12:38,441 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,451 DEBUG    (chromatica.core) [profile] _highlight: 0.009969s
2018-10-01 17:12:38,459 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,465 DEBUG    (chromatica.core) [profile] _highlight: 0.006268s
2018-10-01 17:12:38,476 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,487 DEBUG    (chromatica.core) [profile] _highlight: 0.010216s
2018-10-01 17:12:38,492 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,498 DEBUG    (chromatica.core) [profile] _highlight: 0.005865s
2018-10-01 17:12:38,510 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,519 DEBUG    (chromatica.core) [profile] _highlight: 0.009356s
2018-10-01 17:12:38,525 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,531 DEBUG    (chromatica.core) [profile] _highlight: 0.005397s
2018-10-01 17:12:38,544 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,552 DEBUG    (chromatica.core) [profile] _highlight: 0.008213s
2018-10-01 17:12:38,559 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,575 DEBUG    (chromatica.core) [profile] _highlight: 0.011942s
2018-10-01 17:12:38,581 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,595 DEBUG    (chromatica.core) [profile] _highlight: 0.013832s
2018-10-01 17:12:38,602 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,610 DEBUG    (chromatica.core) [profile] _highlight: 0.006300s
2018-10-01 17:12:38,616 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,623 DEBUG    (chromatica.core) [profile] _highlight: 0.006497s
2018-10-01 17:12:38,627 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,633 DEBUG    (chromatica.core) [profile] _highlight: 0.006774s
2018-10-01 17:12:38,645 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,654 DEBUG    (chromatica.core) [profile] _highlight: 0.009096s
2018-10-01 17:12:38,661 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,668 DEBUG    (chromatica.core) [profile] _highlight: 0.007269s
2018-10-01 17:12:38,679 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,690 DEBUG    (chromatica.core) [profile] _highlight: 0.010061s
2018-10-01 17:12:38,698 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,707 DEBUG    (chromatica.core) [profile] _highlight: 0.008085s
2018-10-01 17:12:38,714 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,725 DEBUG    (chromatica.core) [profile] _highlight: 0.011152s
2018-10-01 17:12:38,754 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,762 DEBUG    (chromatica.core) [profile] _highlight: 0.008768s
2018-10-01 17:12:38,767 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,777 DEBUG    (chromatica.core) [profile] _highlight: 0.009226s
2018-10-01 17:12:38,803 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,812 DEBUG    (chromatica.core) [profile] _highlight: 0.009085s
2018-10-01 17:12:38,833 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,840 DEBUG    (chromatica.core) [profile] _highlight: 0.008035s
2018-10-01 17:12:38,888 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,900 DEBUG    (chromatica.core) [profile] _highlight: 0.009113s
2018-10-01 17:12:38,939 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:38,950 DEBUG    (chromatica.core) [profile] _highlight: 0.010729s
2018-10-01 17:12:39,042 DEBUG    (chromatica.syntax) get_highlight
2018-10-01 17:12:39,052 DEBUG    (chromatica.core) [profile] _highlight: 0.008463s
alxdb commented 5 years ago

I believe I'm having the same issue. using manjaro, neovim 0.3.2, llvm version 7.0.1

ZWindL commented 5 years ago

@alxdb Seems the author abandoned this project.

arakashic commented 5 years ago

@ZWindL Can you post your compile_commands.json file? It seems chromatica is reading incorrect args.

ZWindL commented 5 years ago

@arakashic OK a.cc: compile_commands.json:

pavlosun commented 5 years ago

Can confirm. Doesn't work with 7. Does work with 6. Debian/testing.

852e commented 5 years ago

Have you tried setting g:chromatica#global_args = ['-isystem/usr/lib/clang/7.0.1/include']?

This is a variation on the solution posted for #52. This is the correct path for Arch so I guess Manjaro would be the same.

For me I see the following differences given the example that @ZWindL pasted:

Without Chromatica

without-chromatica

Variable Unset

with-chromatica-var-unset

Variable Set

with-chromatica-var-set

ZWindL commented 5 years ago

@852e WOW! it works! Thank you a lot.