https://github.com/kndndrj/projector-dbee
nvim-projector extension for nvim-dbee
https://github.com/kndndrj/projector-dbee
Last synced: 8 months ago
JSON representation
nvim-projector extension for nvim-dbee
- Host: GitHub
- URL: https://github.com/kndndrj/projector-dbee
- Owner: kndndrj
- License: gpl-3.0
- Created: 2024-01-02T17:00:25.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-04T12:37:03.000Z (over 1 year ago)
- Last Synced: 2025-01-08T03:09:52.929Z (9 months ago)
- Language: Lua
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Neovim Projector DBee Extension
Extension for [nvim-projector](https://github.com/kndndrj/nvim-projector) that
adds an output with [nvim-dbee](https://github.com/kndndrj/nvim-dbee) support.## Installation
Install it as any other plugin. and add outputs to `projector`'s setup function.
This extension also needs dbee to be installed and configured properly.```lua
require("projector").setup {
outputs = {
require("projector_dbee").OutputBuilder:new(),
-- ... your other outputs
},
-- ... the rest of your config
}
```This output adds a task to manage database connections in dbee with projector.
Example task entry:
```lua
{
name = "Database Conn",
databases = {
{
name = "My local database",
type = "sqlite",
url = "~/path/to/local/database.db",
},
-- ...
},
}
```