bartblast

bartblast

Creator of Hologram

The official Hologram extension for VS Code is now live! It brings full syntax highlighting for HOLO templates - ~HOLO sigils in .ex files and standalone .holo template files.

As the template language has grown, writing HOLO in plain text started to feel increasingly painful - this extension fixes that and makes the editing experience much more pleasant.

Thanks to our sponsors for making sustained development possible: Curiosum (Main Sponsor), Erlang Ecosystem Foundation (Milestones Sponsor), and our GitHub sponsors - Innovation Partner: @sheharyarn, Framework Visionaries: @absowoot, Oban, @Lucassifoni, @robertu, and all other GitHub sponsors.

Full details in the blog post: Hologram Gets Official VS Code Support

Showing Posts 1 to 8

sodapopcan

sodapopcan

While I think I may be the last Vimmer in the Elixir community to have not moved onto NeoVim at this point, I have a PR in the works to bring this to Vim. I’ll likely merge in the next couple of weeks.

bartblast

bartblast OP

Creator of Hologram

Nice, good to see Vim getting some love too! I haven’t done any research yet on how other editors handle this, but I’m planning to create dedicated packages for other editors as well - including Vim, if applicable. Contributions are welcome - if you’re interested in contributing to the Vim side, you’re more than invited! I believe that the TextMate grammars could be reused in some editors, which should make it easier to bring Hologram syntax highlighting to more places.

frankdugan3

frankdugan3

For Neovim/Helix (and some more obscure ones), it’s as easy as creating a set of treesitter queries (sigil too). Both editors also have a means for users to add custom queries to their config, so we don’t have to wait for official support to get merged and released.

bartblast

bartblast OP

Creator of Hologram

Thanks, will take a look at this!

sodapopcan

sodapopcan

For Vim it’s easy to piggback off the work that was already done for (H)EEx (takes care of most highlighting and auto-indent). I just had to add control blocks and {} inside HTML attribute values. The PR you see is basically covers done, I’m just sitting on it for a couple of weeks to make sure I didn’t break anything (which I’ve done before). The only plus side of breaking things is that I get to see who some of the other Vim users are :upside_down_face: There is actually an issue with tuples being mistaken for Hologram delimiters, but once I’ve fixed that I’ll merge.

I actually think it’s odd how elixir.vim is overly community aware as opposed to having separate packages, but it was like that long before I came on so I’m just rolling with it.

sheharyarn

sheharyarn

Love your amazing work!

bartblast

bartblast OP

Creator of Hologram

Thank you, appreciate it! :slight_smile:

mward-sudo

mward-sudo

Good to get syntax highlighting, that plain text sure was grating :slightly_smiling_face:

— All posts loaded —

Where Next? Top

Trending in News & Updates Top

kip
I’m a bit excited to announce that Localize and friends are now at release 1.0. Even though it’s a 1.0 release, it stands on 8 years of w...
New
bartblast
After building Hologram and sharing updates across various places, I’ve realized there’s a lot happening that doesn’t always make it to t...
New
bartblast
Hologram v0.11 is out! Two headline features this release. First, Elixir regexes now run in the browser. They were server-only until now,...
New
nseaSeb
Just published search_ash 0.5.0 (with search_core 0.4.0) on Hex. What’s new: synonyms You can now declare a synonym dictionary per lang...
New
mudasobwa
After years of struggling I made StreamData dependency optional. Finitomata.ExUnit got testing primitives for Persistence. Full back co...
New
mudasobwa
MdexMultilineCells is an MDEx plugin enabling multi-line cells in Markdown tables with full inline/block Markdown rendering and automati...
New
sullyMusty
ActiveMemory 0.8.0 — in-memory tables that speak Ecto ActiveMemory 0.8.0 is now on Hex. ActiveMemory is an in-memory store built on ETS ...
New

Other Trending Topics Top

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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews