dbernheisel

Hex.pm completion for blink.cmp for Neovim

10
0
100% credibility
Found Mar 04, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Lua
AI Summary

A Neovim completion plugin that provides intelligent suggestions for Hex.pm package names, versions, dependency options, signature help, and hover information specifically when editing Elixir mix.exs files.

How It Works

1
🔍 Discover the Helper

While working on your Elixir project, you hear about a handy tool that makes adding packages to your list super simple and smart.

2
🛠️ Add It to Your Setup

You easily include this helper in your editor's collection of tools with a few lines in your settings.

3
📁 Open Your Project File

You open the special file where you list all the packages your project needs.

4
Smart Suggestions Appear

As you start typing a package name, helpful suggestions pop up instantly from the official package site, showing popular ones first.

5
📦 Pick and Get Versions

You select a package, and it offers the best version choices, like flexible ranges or exact matches, marking old ones clearly.

6
⚙️ Add Custom Options

For extra settings like paths or environments, a full list of choices appears to make setup effortless.

7
ℹ️ Peek at Details

Hover over a package to instantly see its description, download stats, license, and useful links without leaving your editor.

Dependencies Perfected

Your project now has all packages added quickly and correctly, saving hours of searching and typing errors.

Sign up to see the full architecture

6 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is hex-cmp?

hex-cmp brings hex.pm package completion to Neovim via blink.cmp, targeting Elixir mix.exs files. It auto-suggests package names, fuzzy ~> versions, exact releases (marking retired ones), and Mix dependency options right inside deps tuples. Written in Lua, it uses tree-sitter for context and curl for hex.pm queries, with disk caching for reliability.

Why is it gaining traction?

Unlike generic cmp sources, hex-cmp detects cursor position in deps for precise completions—search hex.pm as you type app names, grab versions post-comma, or list opts like git: or only:. Signature help documents the full {app, requirement, opts} tuple, and hover (via K) shows descriptions, downloads, licenses from hex.pm github links. Cached results keep cmp hex code flowing offline.

Who should use this?

Elixir devs on Neovim 0.10+ with blink.cmp, editing mix.exs deps daily. Phoenix maintainers adding hex cmp online-style search without leaving the editor, or teams standardizing version picks to avoid retired packages. Skip if you're on nvim-cmp or avoid tree-sitter-elixir.

Verdict

Solid early pick for blink.cmp users—install as a dependency, run :checkhealth hex_cmp, and get instant value despite 10 stars and 1.0% credibility score. Docs are clear, features mature for its size; watch for broader cmp b hex code support as it grows.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.