From d68c998df27f66a2e7cf89547c29cfe260555402 Mon Sep 17 00:00:00 2001 From: Phillip Nguyen Date: Sat, 25 May 2024 04:53:37 +0700 Subject: [PATCH] add db plugin --- init.lua | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 13b5a0fd..5b9262e3 100644 --- a/init.lua +++ b/init.lua @@ -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', '-', 'Oil', { 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