hex-cmp - Neovim completion library

I built a blink.cmp source that brings hex.pm completions into your mix.exs for Neovim users:

  • Search packages as you type {:pho:phoenix :phoenix_live_view, etc
  • Version completion with ~> suggestions and retired version warnings
  • All dep opts (only:, git:, path:, etc.)
  • Hover docs via K — works alongside your existing Elixir LSP
  • Signature help for {app, requirement, opts}

Pure Lua, no dependencies beyond blink.cmp and tree-sitter-elixir.

16 Likes

hex-cmp has been updated to support Neovim 0.12 native autocomplete, so no blink.cmp requirement anymore, however blink still provides the most complete experience IMO.

2 Likes

Couldn’t this be part of the ExpertLSP?

2 Likes

Sure could! I can take a look to see what it would take but this is a good start for neovim users for now :slight_smile:

1 Like