> The minimal change that doesn't require updating > all existing definitions of treesit-thing-settings, > is just to add an exception for 'list': > [...] > @@ -3618,7 +3618,7 @@ treesit_traverse_validate_predicate (Lisp_Object pred, > - else if (FUNCTIONP (pred)) > + else if (FUNCTIONP (pred) && !BASE_EQ (pred, Qlist)) I admit that hard-coding one symbol is not the right thing to do. So here is a better patch that checks for the symbol property: