Skip to content

Commit

Permalink
Merge pull request #258 from FFX3/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
kristijanhusak authored Jul 10, 2024
2 parents b6f7202 + d9936ad commit acfb660
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
}
```


Expand Down

0 comments on commit acfb660

Please sign in to comment.