From 059fd47aa01c788bd77226830705e2a996517ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 2 Mar 2024 21:42:38 +0100 Subject: [PATCH] fix(nvim): Translate colorizer to nixvim --- nvim/plugins/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/nvim/plugins/default.nix b/nvim/plugins/default.nix index 98d97f7..36eb176 100644 --- a/nvim/plugins/default.nix +++ b/nvim/plugins/default.nix @@ -1,9 +1,4 @@ { - colorizer = { - enable = true; - # disable named colors (i.e. red) - userDefaultOptions.names = false; - }; gitsigns.enable = true; lspconfig = import ./lspconfig.nix; lspkind.enable = true; @@ -13,6 +8,13 @@ extraConfig = { update_events = "TextChanged,TextChangedI"; }; }; nvim-cmp = import ./cmp.nix; + nvim-colorizer = { + enable = true; + userDefaultOptions = { + names = false; # disable named colors (i.e. red) + mode = "virtualtext"; + }; + }; telescope.enable = true; treesitter = { enable = true;