mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-12 11:48:01 +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: {
|
case SerializeFormat::MessagePack: {
|
||||||
|
if (serialized.empty())
|
||||||
|
return nullptr;
|
||||||
try {
|
try {
|
||||||
msgpack::object_handle oh =
|
msgpack::object_handle oh =
|
||||||
msgpack::unpack(serialized.data(), serialized.size());
|
msgpack::unpack(serialized.data(), serialized.size());
|
||||||
|
Loading…
Reference in New Issue
Block a user