From 78f7597afe396a08e4d4262ee057db43939da03d Mon Sep 17 00:00:00 2001 From: Roel de Cort Date: Thu, 16 May 2024 01:20:37 +0200 Subject: [PATCH] add diagnostic error icons --- config/settings.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/settings.nix b/config/settings.nix index dcfd1cb..0a4684f 100644 --- a/config/settings.nix +++ b/config/settings.nix @@ -1,8 +1,18 @@ { config = { + extraConfigLuaPre = + # lua + '' + vim.fn.sign_define("diagnosticsignerror", { text = " ", texthl = "diagnosticerror", linehl = "", numhl = "" }) + vim.fn.sign_define("diagnosticsignwarn", { text = " ", texthl = "diagnosticwarn", linehl = "", numhl = "" }) + vim.fn.sign_define("diagnosticsignhint", { text = "󰌵", texthl = "diagnostichint", linehl = "", numhl = "" }) + vim.fn.sign_define("diagnosticsigninfo", { text = " ", texthl = "diagnosticinfo", linehl = "", numhl = "" }) + ''; + clipboard = { providers.wl-copy.enable = true; }; + opts = { number = true; relativenumber = true;