dbern

dbern

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.

github.com/dbernheisel/hex-cmp

Most Liked

dbern

dbern

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.

kevinschweikert

kevinschweikert

Couldn’t this be part of the ExpertLSP?

dbern

dbern

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:

Where Next?

Popular in Announcing Top

mbuhot
Leverage Open Api 3.0 (Swagger) to document, test, validate and explore your Plug and Phoenix APIs. Generate and serve a JSON Open API ...
New
tmbb
I’ve been working on two packages (not on hex.pm yet) to build admin interfaces for phoenix apps: bureaucrat - which contains a bunch ...
New
maltoe
Hello! Came here to announce ChromicPDF, a pet project PDF generator I’ve been working on for the past few months. Why another PDF gener...
New
dominicletz
Hi, I thought I had posted my library before but seems I hadn’t. The project is still in early stages but it’s growing and so I think it...
New
tfwright
After working on it for a couple of months and using it in production for most of that time, today I’ve released LiveAdmin, a LiveView ba...
New
type1fool
WebAuthnLiveComponent WebAuthnComponents See this post about renaming the package. Passwordless authentication for Phoenix LiveView app...
New
woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement