From 8ad2f8c9afb308e7a8a1133f578e3352442f770a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 24 Sep 2023 01:12:42 +0200 Subject: Restructure plugin configs --- fnl/plugins/editor/dadbod.fnl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'fnl/plugins/editor/dadbod.fnl') diff --git a/fnl/plugins/editor/dadbod.fnl b/fnl/plugins/editor/dadbod.fnl index 40220ec..c5ca5ec 100644 --- a/fnl/plugins/editor/dadbod.fnl +++ b/fnl/plugins/editor/dadbod.fnl @@ -1,5 +1,11 @@ ;; Plugins for interacting with databases. +(local dependencies [{1 :tpope/vim-dadbod :lazy true} + {1 :tpope/vim-dotenv :lazy true} + {1 :kristijanhusak/vim-dadbod-completion + :ft [:sql :plsql] + :lazy true}]) + (local keys [{1 :dn 2 :DBUIToggle :mode :n @@ -14,11 +20,4 @@ (set vim.g.db_ui_winwidth 40) (set vim.g.db_ui_notification_width 39)) -{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} +{1 :kristijanhusak/vim-dadbod-ui : dependencies : keys : init} -- cgit v1.2.3-70-g09d2