sodapopcan

sodapopcan

I get the impression that the Elixir community at large is using nvim, though it occurred to me that I don’t actually know this so I thought I would ask here to get some sort of better idea. I’m thinking of offering to take over as maintainer of elixir.vim so it’s useful info for me—though I still haven’t decided if learning that lots of people still use Vim means I’d want to or not want to do this :upside_down_face:

I’m also on a bit of a Vim config kick right now (happens about once per year) and fixing some long-standing grievances I’ve had with elixir.vim, so let me know if there is anything you’d like me to look at. I’d even be up for pairing if anyone is into that.

Showing Posts 1 to 10

jss

jss

I haven’t heard/tried nvim. Thank you for the suggestion. :slight_smile:

arcanemachine

arcanemachine

Just to provide a data point: I’m all in on Neovim. I’m not even sure when I removed elixir.vim, but it’s not in my list of plugins anymore and everything is working great. :person_shrugging:

sodapopcan

sodapopcan OP

Ya, AFAIK it’s not necessary for nvim but I don’t really know. It’s certainly needed for Vim!

D4no0

D4no0

I recently switched from VSCode to nvim + nvchad. Honestly, I have no idea what is the difference between vi/vim/nvim, I would guess some breaking changes configuration wise?

I guess the question would be: why someone would use vim instead of newer nvim?

sanswork

sanswork

I really like my setup in vim and I haven’t been able to recreate it in neovim(I’m sure it’s possible but I find the configuration for nvim really confusing and I’m not willing to invest days in learning it) so I haven’t switched. Neovim has a lot of cool stuff I’d like to use but I’m just so comfortable that I can’t be bothered.

sodapopcan

sodapopcan OP

That’s a legit question but off topic from what I’m looking for. Lots of people still use Vim and I’m just wondering how many in the Elixir community still do.

In very short (though not the whole story), Vim has been my sole editor for the past 15 years. I’ve tried to switch to nvim a couple of times (once recently) but felt no huge advantage to it over Vim. If you’re coming in fresh, nvim is quicker (from what I understand) to get up to speed if you’re looking for an IDE-like experience.

ca1989

ca1989

Me too.

Only thing I can’t really get to work is proper syntax highlighting between ~H""" ... """

But I will probably keep using vim until I retire from the job :slight_smile:

sodapopcan

sodapopcan OP

So that is without a doubt been the biggest thorn in my side and what I’ve been working on. I have a draft PR open and is mostly there but I want to use keep using it for a few days. It would be great if you could try it out and give me feedback!

https://github.com/elixir-editors/vim-elixir/pull/570

ca1989

ca1989

OMG this is wonderful! Working great!

It was so annoying before that I disable completely the syntax highlight for ~H""" (no highlight was better that broken highlight).

Thank you so much!

sodapopcan

sodapopcan OP

Ya, I tried disabling but I couldn’t deal with that, so I did some forced little syntax things to make it more bearable. It was fine so long as I was working alone but now that I’m working on a team in a LiveView-heavy codebase that has some monster render functions, I can’t do those things. So I that pushed me over the edge to fix it as it was pretty much affecting job performance.

I’m going to sit with it for a couple of days then un-draft the PR. The only thing I’m currently aware of is that tuple delimiters get highlighted as heex attribute delimiters. Also, the end in <% end %> doesn’t get highlighted. This are hardly issues compared to what’s there now but I’m still going to try and fix it. Let me know if you run into anything!

The other thing that is driving me nuts is that indentation gets messed up if you are under a render function that has some <%= %> in with do/end constructs, but that’s a different fix.

Thanks for trying out the branch!

Where Next? Top

Trending in Dev Env & Tools Top

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews