Tree Sitter: Add tree-sitter-less.

Review Request #14527 — Created July 29, 2025 and updated

Information

Review Board
master

Reviewers

This change adds tree-sitter-less as an additional dependency, because
we selfishly want to have nice highlighting for LESS files. Most of this
change is infrastructure to add our own layer on top of
tree-sitter-language-pack, letting us extend the list of supported
languages and have our own fallbacks for getting language and parser
objects.

  • Ran unit tests.
  • Ran update-language-info and update-queries scripts to generate the
    new data.
Summary ID
Tree Sitter: Add tree-sitter-less.
This change adds tree-sitter-less as an additional dependency, because we selfishly want to have nice highlighting for LESS files. Most of this change is infrastructure to add our own layer on top of tree-sitter-language-pack, letting us extend the list of supported languages and have our own fallbacks for getting language and parser objects. Testing Done: - Ran unit tests. - Ran update-language-info and update-queries scripts to generate the new data.
73b06706d29849a4aa903d1e8b4985bd3d7564f2
Checks run (2 succeeded)
flake8 passed.
JSHint passed.