From 1f34bacc0961ce720813ef34a04938ee5aca9565 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 17 Sep 2023 22:38:00 +0200 Subject: Add dadbod --- fnl/plugins/editor/dadbod.fnl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 fnl/plugins/editor/dadbod.fnl (limited to 'fnl/plugins/editor/dadbod.fnl') diff --git a/fnl/plugins/editor/dadbod.fnl b/fnl/plugins/editor/dadbod.fnl new file mode 100644 index 0000000..6701ee2 --- /dev/null +++ b/fnl/plugins/editor/dadbod.fnl @@ -0,0 +1,22 @@ +;; Plugins for interacting with databases. + +(local keys [{1 :wn + 2 :DBUIToggle + :mode :n + :desc "Toggle Dadbod UI"} + {1 :we + 2 :DBUIAddConnection + :mode :n + :desc "Add DB connection"}]) + +{1 :kristijanhusak/vim-dadbod-ui + :dependencies [{1 :tpope/vim-dadbod :lazy true} + {1 :tpope/vim-dotenv :lazy true} + {1 :kristijanhusak/vim-dadbod-completion + :ft [:sql :plsql] + :lazy true}] + : keys + :init (fn [] + (set vim.g.db_ui_use_nerd_fonts 1) + (set vim.g.db_ui_winwidth 40) + (set vim.g.db_ui_notification_width 39))} -- cgit v1.2.3-70-g09d2