feat: supress ccls offset encoding messages
This commit is contained in:
parent
01a1fbdf55
commit
de84d74144
|
@ -23,8 +23,17 @@ in {
|
||||||
DEBUG = "${cfg.icons.DEBUG}",
|
DEBUG = "${cfg.icons.DEBUG}",
|
||||||
TRACE = "${cfg.icons.TRACE}",
|
TRACE = "${cfg.icons.TRACE}",
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- required to fix offset_encoding errors
|
||||||
|
local notify = vim.notify
|
||||||
|
vim.notify = function(msg, ...)
|
||||||
|
if msg:match("warning: multiple different client offset_encodings") then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
notify(msg, ...)
|
||||||
|
end
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue