dense-analysis / ale

Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
BSD 2-Clause "Simplified" License
13.49k stars 1.43k forks source link

Add custom header locations for clang #2288

Closed Wh0ba closed 5 years ago

Wh0ba commented 5 years ago

Can we have the ability to add custom include pathes so that it doesn't show as an error since we include the in the make command

Wh0ba commented 5 years ago

Like i have my other headers inside ~/theos/include directory and other directories Which Theos includes when running make

w0rp commented 5 years ago

You can -I whatever-path with the _options variables. See :help ale_cpp_clang_options or :help ale_c_clang_options.

Wh0ba commented 5 years ago

Vim is saying Unkown Option: ale_c_clang_options When trying

:set ale_c_clang_options +='-isysroot/var/mobile/theos/sdks/iPhoneOS11.2.sdk'

I'm using pathogen btw