feat: supress ccls offset encoding messages

This commit is contained in:
raf 2023-07-13 23:22:16 +03:00
parent 01a1fbdf55
commit de84d74144
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

View file

@ -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
''; '';
}; };
} }