feat(nvim): add dadbod for db management
This commit is contained in:
parent
9448ac5dc2
commit
c790711644
25
dots/.config/nvim/lua/plugins/configs/dadbod.lua
Normal file
25
dots/.config/nvim/lua/plugins/configs/dadbod.lua
Normal file
@ -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,
|
||||||
|
},
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user