add: config for database management

This commit is contained in:
asep.komarudin 2024-06-12 18:38:25 +07:00
parent 17f2ffe48b
commit 9dbcd4b755
9 changed files with 218 additions and 82 deletions

View file

@ -6,7 +6,7 @@ elseif substring(tostring(colorscheme), "material") then
colorscheme = "material"
end
local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
if not status_ok then
return
local ok, _ = pcall(vim.cmd.colorscheme, colorscheme)
if not ok then
require "notify"("Colorscheme '" .. colorscheme .. "' not found!", "error")
end