We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e065145 commit 3466159Copy full SHA for 3466159
lua/telescope/builtin/__internal.lua
@@ -959,7 +959,7 @@ end
959
960
internal.colorscheme = function(opts)
961
local before_background = vim.o.background
962
- local before_color = vim.cmd.colorscheme()
+ local before_color = vim.api.nvim_exec2("colorscheme", { output = true }).output
963
local need_restore = true
964
965
local colors = opts.colors or { before_color }
0 commit comments