some more misc changes

This commit is contained in:
Muneeb Usmani 2024-06-03 02:27:26 +05:00
parent c3e51d739d
commit ce33961ef8

View file

@ -5,15 +5,21 @@ return {
init = function() init = function()
vim.opt.laststatus = 3 vim.opt.laststatus = 3
vim.opt.splitkeep = "screen" vim.opt.splitkeep = "screen"
vim.g.db_ui_auto_execute_table_helpers = 1
end, end,
opts = function(_, opts) opts = function(_, opts)
table.insert(opts.right, { table.insert(opts.right, {
title = "Database", title = "Database",
ft = "dbui", ft = "dbui",
pinned = true, pinned = false,
open = "DBUI", open = "DBUI",
size = { width = 0.25 }, size = { width = 0.25 },
}) })
table.insert(opts.bottom, {
title = "DB Query Result",
ft = "dbout",
})
opts.optional = true
end, end,
}, },