diff --git a/lua/lazyvim/plugins/extras/util/database.lua b/lua/lazyvim/plugins/extras/util/database.lua index 293397a7..e20fbf6a 100644 --- a/lua/lazyvim/plugins/extras/util/database.lua +++ b/lua/lazyvim/plugins/extras/util/database.lua @@ -5,15 +5,21 @@ return { init = function() vim.opt.laststatus = 3 vim.opt.splitkeep = "screen" + vim.g.db_ui_auto_execute_table_helpers = 1 end, opts = function(_, opts) table.insert(opts.right, { title = "Database", ft = "dbui", - pinned = true, + pinned = false, open = "DBUI", size = { width = 0.25 }, }) + table.insert(opts.bottom, { + title = "DB Query Result", + ft = "dbout", + }) + opts.optional = true end, },