Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Maybe I can finally have this syntax highlighting style: https://youtu.be/b0EF0VTs9Dc?t=900


There is an emacs package for this (maybe beta). I can't remember the name of it and Google is failing me.

EDIT: finally found it https://github.com/alphapapa/prism.el


Rainbow delimiters mode kind of does this, but doesn't maintain the scope color of referenced variables.


The idea is pretty awesome, but my eyes nearly rolled out of my head from the needless condescension at the beginning.


it's just how old people talk. Rob Pike speaks of syntax colouring in the same way - he quotes the Bible.

I don't see it as condescension though. I think it's just a way of speaking.


I know plenty of "old people" who don't talk like this. In fact, the "old people" that I respect tend to be a lot more open-minded.

It's one thing to joke about it a little, but this is just arrogance on display with obvious derision for us children who find that traditional syntax highlighting is beneficial.

I recall reading once that Vim tabs were a crutch for people who "can't remember what they're working on". It's the same kind of arrogance and presumptiveness.


I'm pretty sure you can implement this in Neovim with Tree Sitter now.

This would be a wonderful idea in any programming language.

But I agree with the other commenter that this speaker is really condescending. Not a person I'd want to work with.


nvim-treesitter is pretty promising, do you know if it supports this type of highlighting already?


if your mute is on, accompanying audio states:

"You've all seen syntax coloring, right? That's something we put in our text editors to make it easier for kindergardeners to do programming"

:)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: