From c790711644d711b7596ee4ebd4ff1b663cc29a18 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 16 Sep 2023 15:01:15 -0500 Subject: [PATCH] feat(nvim): add dadbod for db management --- .../nvim/lua/plugins/configs/dadbod.lua | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dots/.config/nvim/lua/plugins/configs/dadbod.lua diff --git a/dots/.config/nvim/lua/plugins/configs/dadbod.lua b/dots/.config/nvim/lua/plugins/configs/dadbod.lua new file mode 100644 index 00000000..ef414370 --- /dev/null +++ b/dots/.config/nvim/lua/plugins/configs/dadbod.lua @@ -0,0 +1,25 @@ +return { + { + "kristijanhusak/vim-dadbod-ui", + dependencies = { + { + "tpope/vim-dadbod", + lazy = true + }, + { + "kristijanhusak/vim-dadbod-completion", + ft = { "sql", "mysql", "plsql" }, + lazy = true + }, + }, + cmd = { + "DBUI", + "DBUIToggle", + "DBUIAddConnection", + "DBUIFindBuffer", + }, + init = function() + vim.g.db_ui_use_nerd_fonts = 1 + end, + }, +}