When working with Elixir in LazyVim, having quick access to documentation is essential for maintaining a smooth development workflow. This article explores how to set up and use the
Mix Dependencies Documentation (<leader>em)
Accessing Third-Party Documentation
To ensure documentation for third-party libraries is available, you need to:
- Add
ex_docto your project dependencies:
defp deps do
[
{:ex_doc, "~> 0.35", only: :dev, runtime: false}
]
end
- Generate the documentation:
mix deps.get
mix docs
Benefits
This configuration provides several advantages:
- Instant documentation access without leaving Neovim
- Seamless integration with LazyVim's existing features
- Quick access to both core Elixir and third-party documentation
- Improved development workflow efficiency
Conclusion
By integrating elixir-extras.nvim with LazyVim, you can significantly enhance your Elixir development experience. The quick access to documentation helps maintain flow while coding and reduces context switching between your editor and external documentation sources.
Remember to keep your documentation up to date by running mix docs when adding new dependencies to ensure comprehensive documentation coverage in your development environment.

SOCIAL SHARE CARD GENERATOR