Removed windows.nvim due to conflict with aerial. Added vim-dadbod-ui

This commit is contained in:
2025-01-23 11:07:50 +11:00
parent cc7d2566fb
commit 381a4f5c2d
5 changed files with 35 additions and 25 deletions

View File

@@ -12,11 +12,10 @@ return {
vim.keymap.set("n", "}", "<cmd>AerialNext<CR>", { buffer = bufnr })
end,
layout = {
default_direction = "prefer_left",
min_width = 30,
max_width = { 40, 0.3 },
width = nil,
max_width = { 40, 0.2 },
preserve_equality = true,
min_width = 10,
default_direction = "prefer_left",
},
filter_kind = {
"Class",

View File

@@ -0,0 +1,17 @@
return {
"kristijanhusak/vim-dadbod-ui",
dependencies = {
{ "tpope/vim-dadbod", lazy = true },
{ "kristijanhusak/vim-dadbod-completion", ft = { "sql", "mysql", "plsql" }, lazy = true }, -- Optional
},
cmd = {
"DBUI",
"DBUIToggle",
"DBUIAddConnection",
"DBUIFindBuffer",
},
init = function()
-- Your DBUI configuration
vim.g.db_ui_use_nerd_fonts = 1
end,
}

View File

@@ -1,13 +0,0 @@
return {
"anuvyklack/windows.nvim",
dependencies = {
"anuvyklack/middleclass",
"anuvyklack/animation.nvim"
},
config = function()
vim.o.winwidth = 10
vim.o.winminwidth = 10
vim.o.equalalways = false
require('windows').setup()
end
}