summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/dadbod.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-24 01:12:42 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-24 01:12:42 +0200
commit8ad2f8c9afb308e7a8a1133f578e3352442f770a (patch)
treea7a05ed7c472f186d6380dd918e2318d6d951330 /fnl/plugins/editor/dadbod.fnl
parentfd69ec549594d53b9503212d93a9a44f10eef478 (diff)
Restructure plugin configs
Diffstat (limited to 'fnl/plugins/editor/dadbod.fnl')
-rw-r--r--fnl/plugins/editor/dadbod.fnl15
1 files changed, 7 insertions, 8 deletions
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 :<leader>dn
2 :<cmd>DBUIToggle<cr>
: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}