doppler.nvim
A Neovim plugin that seamlessly integrates Doppler's secret management
Understanding doppler.nvim ¶
doppler.nvim is a Neovim plugin that injects Doppler secrets directly into your Neovim environment based on the Doppler configurations of your project. This integration ensures that environment-specific secrets are readily available within Neovim, streamlining workflows that depend on sensitive data.
Repository: github.com/connerohnesore/doppler.nvim
Key Features ¶
-
Seamless Secret Injection: Automatically injects Doppler-managed secrets into Neovim when editing within a Doppler-configured project.
-
On-Demand Loading: Utilizes plugin managers like
lazy.nvimto load the plugin as needed, optimizing Neovim’s performance. -
Dependency Management: Relies on
nvim-lua/plenary.nvimto ensure robust functionality.
Installation Guide ¶
To incorporate doppler.nvim into your Neovim setup using lazy.nvim, add the following configuration to your init.lua:
return {
"conneroisu/doppler.nvim",
dependencies = {
'nvim-lua/plenary.nvim',
},
}
This setup ensures that doppler.nvim loads only when required, maintaining an efficient editing environment.
Project Structure ¶
The doppler.nvim project is organized as follows:
.
├── lua
│ ├── doppler
│ │ └── module.lua
│ └── doppler.lua
├── Makefile
├── plugin
│ └── doppler.lua
├── README.md
├── tests
│ ├── minimal_init.lua
│ └── doppler
│ └── doppler_spec.lua
This structure delineates the core functionality (lua/doppler/), plugin initialization (plugin/doppler.lua), and testing framework (tests/).