From 1a7ae5f97134025f1448d9d3c24839f6c4f26653 Mon Sep 17 00:00:00 2001
From: "iliya.saroukha" <iliya.saroukhanian@etu.hesge.ch>
Date: Wed, 11 Dec 2024 18:50:20 +0100
Subject: [PATCH] feat: enabled live-preview of colouschemes through telescope

---
 lua/plugins/telescope.lua | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua
index d18d705..9114016 100644
--- a/lua/plugins/telescope.lua
+++ b/lua/plugins/telescope.lua
@@ -20,5 +20,15 @@ return { -- Fuzzy Finder (files, lsp, etc)
 
         -- Useful for getting pretty icons, but requires a Nerd Font.
         { 'nvim-tree/nvim-web-devicons', enabled = vim.g.have_nerd_font },
-    }
+    },
+
+    config = function()
+        require('telescope').setup({
+            pickers = {
+                colorscheme = {
+                    enable_preview = true
+                }
+            }
+        })
+    end
 }
-- 
GitLab