add db plugin

This commit is contained in:
Phillip Nguyen 2024-05-25 04:53:37 +07:00 committed by Phillip Nguyen
parent 79f1a1c165
commit d68c998df2
1 changed files with 18 additions and 1 deletions

View File

@ -924,7 +924,7 @@ require('lazy').setup({
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
vim.cmd.colorscheme 'tokyonight-night'
-- vim.cmd.colorscheme 'tokyonight-night'
vim.cmd.colorscheme 'kanagawa-wave'
vim.cmd.colorscheme 'kanagawa-dragon'
-- You can configure highlights by doing something like:
vim.cmd.hi 'Comment gui=none'
end,
@ -1076,6 +1076,23 @@ require('lazy').setup({
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
end,
},
{
'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()
-- Your DBUI configuration
vim.g.db_ui_use_nerd_fonts = 1
end,
},
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
-- init.lua. If you want these files, they are in the repository, so you can just download them and