• ocelot@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    10 months ago

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

    • Slotos@feddit.nl
      link
      fedilink
      arrow-up
      2
      ·
      10 months 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 ```