justmao945 / vim-clang

Clang completion plugin for vim
ISC License
358 stars 47 forks source link

Handle a 'arguments' key in a compilation database. #134

Closed golem0xE closed 4 years ago

golem0xE commented 4 years ago

A tool such as bear (https://github.com/rizsotto/Bear) uses the arguments key instead of the command key in case of the compilation database that is build for a Makefile project. According to https://clang.llvm.org/docs/JSONCompilationDatabase.html#format either arguments or command is required so this PR adds a support also for the arguments key.