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

sorenone
Today we’re releasing Oban for Python. Not an Oban client in Python. Not a pythonx wrapper embedded in Elixir. Nope, it’s a fully operati...
New
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
I’ll be using this thread to share Hologram patch release announcements. Minor releases will continue to get dedicated threads with blog ...
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
MdexMultilineCells is an MDEx plugin enabling multi-line cells in Markdown tables with full inline/block Markdown rendering and automati...
New
sorenone
This release unifies configuration for queues, repos, and services, swaps opaque timing integers for readable durations, and backports pe...
New

Other Trending Topics Top

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
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
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
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews