From ce33961ef81fc525a19144e528927da19e7410bf Mon Sep 17 00:00:00 2001 From: Muneeb Usmani Date: Mon, 3 Jun 2024 02:27:26 +0500 Subject: [PATCH] some more misc changes --- lua/lazyvim/plugins/extras/util/database.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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, },