aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua/plugins/sql.lua
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2024-08-16 16:28:22 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2024-08-16 16:28:22 -0400
commite184d7cee358abc277a51f040cacf236f1eaceab (patch)
treebfc7ced143a04d6d79f955ca7c37b962a01773f3 /nvim/lua/plugins/sql.lua
parentd3230ab29e56f97966f05cf2232a2e92d6a1302f (diff)
removed lspzero, updated keymaps
Diffstat (limited to 'nvim/lua/plugins/sql.lua')
-rw-r--r--nvim/lua/plugins/sql.lua28
1 files changed, 28 insertions, 0 deletions
diff --git a/nvim/lua/plugins/sql.lua b/nvim/lua/plugins/sql.lua
new file mode 100644
index 0000000..253aed4
--- /dev/null
+++ b/nvim/lua/plugins/sql.lua
@@ -0,0 +1,28 @@
+local dadbod = {
+ "tpope/vim-dadbod",
+ lazy = true
+}
+local dadbod_completions = {
+ 'kristijanhusak/vim-dadbod-completion',
+ ft = { 'sql', 'mysql', 'plsql' },
+ lazy = true
+}
+local dadbod_ui = {
+ 'kristijanhusak/vim-dadbod-ui',
+ dependencies = {
+ dadbod,
+ dadbod_completions
+ },
+ cmd = {
+ 'DBUI',
+ 'DBUIToggle',
+ 'DBUIAddConnection',
+ 'DBUIFindBuffer',
+ },
+ init = function()
+ vim.g.db_ui_use_nerd_fonts = 1
+ end,
+}
+return {
+ dadbod_ui,
+}