Table of Contents
grayout vim C/C++ macro preprocessor
Plug 'mphe/grayout.vim' https://github.com/mphe/grayout.vim
Run :GrayoutUpdate
Run :GrayoutShowCommand
" Set libclang searchpath. Leave empty for auto-detect. "let g:grayout_libclang_path = ''
/path/to/fs/src/interfaces/LLVMProject/tools/QSCP/lib64/libclang.so (libclang.so)
let g:grayout_libclang_path = '/path/to/fs/src/interfaces/LLVM_Project/tools/lib64'
.grayout.conf
For example,
cat .grayout.conf
-DUSE_RTLCLOCK -DUSE_DPIOFF -DUSE_C_COSIM -DUSE_RTLCLOCK
-x <language>
-x c -DENABLE_FEATURE_X -DANOTHER_FLAG -DSOME_CONSTANT=42
-x c++ -DUSE_RTLCLOCK -DUSE_DPIOFF -DUSE_C_COSIM -DUSE_RTLCLOCK
debug
" Enable to print debug messages inside vim. let g:grayout_debug = 0 " Enable to write debug messages to `grayout.log`. let g:grayout_debug_logfile = 0