|
From: | Stefan Monnier |
Subject: | Re: master 09b5f00613: ; Fix calls to treesit functions |
Date: | Sun, 18 Dec 2022 22:37:03 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
>> How 'bout always defining `treesit-parser-list` (and making it return >> `nil` if Emacs was compiled without Tree-sitter support)? > Is it indeed guaranteed that the first function to be called by any > application that wants to optionally use tree-sitter will be > treesit-parser-list? Good question. Tho I don't think we need a guarantee. We just need it to be frequent enough. > What if they want to start with some other function? There's always `treesit-available-p`. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |