use neovim default if color is not found.
This commit is contained in:
@@ -11,10 +11,10 @@ require('night-owl').setup({
|
||||
})
|
||||
|
||||
function ColorMyPencils(color)
|
||||
color = color or 'tokyonight'
|
||||
color = color or 'default'
|
||||
vim.cmd.colorscheme(color)
|
||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
-- vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
-- vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
end
|
||||
|
||||
ColorMyPencils('night-owl')
|
||||
|
||||
Reference in New Issue
Block a user