diff options
author | Abouzar Parvan <[email protected]> | 2021-07-16 22:15:21 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-16 13:45:21 -0400 |
commit | cf0a558fe5975a3655abc18a43682d2443f9dbc2 (patch) | |
tree | 28eda9d205b7cfbc5cea151e579f645c698668b3 /lua/core/which-key.lua | |
parent | 909b9cff873ccd57f9451116215c44fd2dd691a7 (diff) |
:tada: telescope supports colorscheme preview (#995)
Diffstat (limited to 'lua/core/which-key.lua')
-rw-r--r-- | lua/core/which-key.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/core/which-key.lua b/lua/core/which-key.lua index b6413775..6f034e3e 100644 --- a/lua/core/which-key.lua +++ b/lua/core/which-key.lua @@ -148,6 +148,10 @@ M.config = function() t = { "<cmd>Telescope live_grep<cr>", "Text" }, k = { "<cmd>Telescope keymaps<cr>", "Keymaps" }, C = { "<cmd>Telescope commands<cr>", "Commands" }, + p = { + "<cmd>lua require('telescope.builtin.internal').colorscheme({enable_preview = true})<cr>", + "Colorscheme with Preview", + }, }, T = { name = "Treesitter", |