this post was submitted on 12 Sep 2023
989 points (97.8% liked)

Programmer Humor

19488 readers
583 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Have you installed the treeesitter grammars for those languages with :TSInstall language_name or in your treesitter config?

[–] [email protected] 2 points 1 year ago

This is pretty much all that’s needed. The language in the block is identified via a name that follows the opening triple backtick. E.g.:

```python some carefully indented code ```