Implement theme switcher

using telescope picker

ask if want to change default theme, change value in user_config.lua

load it as a telescope extension

live preview of themes

Co-authored-by: Galen Rowell <growell3@gmail.com>
This commit is contained in:
Akianonymus 2021-07-30 22:41:56 +05:30 committed by Galen Rowell
parent 7affb8cbfb
commit a6ab121d12
4 changed files with 286 additions and 2 deletions

View file

@ -67,6 +67,9 @@ telescope.setup(
}
)
-- load the theme_switcher extension
require("telescope").load_extension("themes")
if
not pcall(
function()