This commit is contained in:
Kristofers Solo 2023-04-20 17:22:56 +03:00
parent 5464bb71ca
commit bb8120cea3

View File

@ -1,5 +1,3 @@
local colorscheme = "dracula"
local theme_status_ok, dracula = pcall(require, "dracula")
if not theme_status_ok then
return
@ -23,7 +21,7 @@ dracula.setup({
},
})
local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
local status_ok, _ = pcall(vim.cmd.colorscheme("dracula"))
if not status_ok then
return
end