[emacs] Add cquery-extra-init-params

To enable SerializeFormat::MessagePack and use .mpack cache files:

    (setq cquery-extra-init-params '(:cacheFormat 1))
This commit is contained in:
Fangrui Song 2018-01-06 21:48:19 -08:00
parent 286a0649c1
commit 32d37ede49

View File

@ -245,6 +245,8 @@ std::unique_ptr<IndexFile> Deserialize(SerializeFormat format,
}
case SerializeFormat::MessagePack: {
if (serialized.empty())
return nullptr;
try {
msgpack::object_handle oh =
msgpack::unpack(serialized.data(), serialized.size());