1
0
Fork 0

Change how diagnostic signs are defined in Neovim

This commit is contained in:
Avery 2025-07-02 06:28:53 +00:00
parent de6026cb84
commit 242dccba12
Signed by: Avery
GPG key ID: B684FD451B692E04

View file

@ -4,17 +4,14 @@
enable = true;
keymaps.lspBuf."<leader>ca" = "code_action";
luaConfig.post = ''
local signs = {
Error = "",
Warn = "",
Hint = "",
Info = ""
}
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, {text = icon, texthl = hl, numhl = hl})
end
vim.diagnostic.config({
signs = {
Error = "",
Warn = "",
Hint = "",
Info = ""
}
});
'';
servers = {
cssls.enable = true;