[Lldb-commits] [lldb] [lldb] Add tree-sitter based Rust syntax highlighting (PR #181282)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 17 09:14:09 PST 2026


https://github.com/DavidSpickett commented:

I know nothing about how we're integrating tree-sitter so someone else can approve.

One more question though, when we import a tree-sitter thing, are we importing it whole even if we don't need all the files, or are we somehow using that javascript file in the process of using tree-sitter?

I can see an argument for:
* Import only what you need because....that's all you need.
* Import it all because it makes updating it later a lot easier.

Not like these are massive files, so the second argument makes sense to me. Reduces the thinking we need to do at all points.

https://github.com/llvm/llvm-project/pull/181282


More information about the lldb-commits mailing list