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

woylie
Doggo 0.18.3 has been released. Added tabs: Add a disabled attribute to the :panel slot. A disabled tab can be focused with the arrow k...
New
mikehostetler
ReqLLM v1.28.0 has been released. Features: add StepFun chat and audio providers (#1087) by mikehostetler openai: honour image deta...
New
bartblast
Hologram v0.12 is out! This one is for the big apps. Evo Store, Hologram’s Performance Sponsor, has an app with over 9,000 Elixir modules...
New
GenericJam
Mob 0.9.18 has been released. Added anchor: "bottom" on :scroll, for chat logs (MOB-481). The scroll opens at the end of its content. ...
New
GenericJam
Mob 0.9.17, 0.9.16 and 0.9.15 has been released. Added Async work in screens, the LiveView way. Mob.Socket.start_async/3 runs a functi...
New
fhunleth
Nerves v2.0.0-pre.4 and v2.0.0-pre.3 has been released. Changes Fix typo preventing SOURCE_DATE_EPOCH from propogating through the fi...
New
danj
Some root certs are compromised, updates are needed to maintain TLS security. As reported by Mozilla the eMudhra intermediate CA privat...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
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
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews