From d9936ade5865c4e39250cb3ca9a53afb86121665 Mon Sep 17 00:00:00 2001 From: Justin McIntyre <52301413+FFX3@users.noreply.github.com> Date: Tue, 9 Jul 2024 18:53:52 -0300 Subject: [PATCH] Update README.md Corrected error in documentation --- README.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 895dc5a..fb3606d 100644 --- a/README.md +++ b/README.md @@ -139,19 +139,17 @@ let g:dbs = [ In case you use Neovim, here's an example with Lua: ```lua - vim.g.dbs = { +vim.g.dbs = { + { name = 'dev', url = 'postgres://postgres:mypassword@localhost:5432/my-dev-db' } + { name = 'staging', url = 'postgres://postgres:mypassword@localhost:5432/my-staging-db' }, + { name = 'wp', url = 'mysql://root@localhost/wp_awesome' }, { - { name = 'dev', url = 'postgres://postgres:mypassword@localhost:5432/my-dev-db' } - { name = 'staging', url = 'postgres://postgres:mypassword@localhost:5432/my-staging-db' }, - { name = 'wp', url = 'mysql://root@localhost/wp_awesome' }, - { - name = 'production', - url = function() - return vim.fn.system('get-prod-url') - end - }, - } - } + name = 'production', + url = function() + return vim.fn.system('get-prod-url') + end + }, +} ```