mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-31 09:50:26 +00:00
[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:
parent
286a0649c1
commit
32d37ede49
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user