I'm currently using the following format to include multiple directories for header files' lookup.
let g:clang_user_options = '-I/usr/include/'
let g:clang_user_options .= ' -I/usr/include/boost/'
let g:clang_user_options .= ' -I/usr/include/x86_64-linux-gnu/'
let g:clang_user_options .= ' -I/usr/include/c++/7/'
let g:clang_user_options .= ' -I/usr/lib/gcc/x86_64-linux-gnu/7/include/'
let g:clang_user_options .= ' -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/'
This is just a normal size, but since there's no simpler way to recursively look for sub-directories within /usr/include and other standard directories, this could get quite bloated with concatenated let g:clang_user_options .= <...>.
Is it difficult to implement the following format?
I'm currently using the following format to include multiple directories for header files' lookup.
This is just a normal size, but since there's no simpler way to recursively look for sub-directories within
/usr/include
and other standard directories, this could get quite bloated with concatenatedlet g:clang_user_options .= <...>
.Is it difficult to implement the following format?
At least this way it would be a lot easier to add a newly inserted line right inside this list without all this unnecessary repetition.