mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
feat: supress ccls offset encoding messages
This commit is contained in:
parent
01a1fbdf55
commit
de84d74144
1 changed files with 10 additions and 1 deletions
|
@ -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 a new issue