> From: Yuan Fu <caso...@gmail.com> > Date: Tue, 10 Sep 2024 22:09:04 -0700 > Cc: stefankan...@gmail.com, > a...@muc.de, > 64...@debbugs.gnu.org > > Done. Please take a look at the latest patch, thanks!
LGTM, but... > +struct treesit_loaded_lang > +{ > + /* The language object. */ > + TSLanguage *lang; > + /* The path to the shared library. */ > + const char *filename; > +}; > + ..."path" again. > +DEFUN ("treesit-grammar-location", Ftreesit_grammar_location, > + Streesit_grammar_location, > + 1, 1, 0, > + doc: /* Return the absolute file name of the grammar file for > LANGUAGE. > + > +If LANGUAGE isn't loaded yet, load it first. If the langauge can't be ^^^^^^^^ A typo.