> The only ts-mode where the 'sexp' thing is well defined is c-ts-mode with > > (sexp (not ,(rx (or "{" "}" "[" "]" "(" ")" ",")))) > > All other ts-modes contain desperate attempts to emulate the > traditional behavior to navigate symbols with the 'sexp' thing. > But symbol navigation is now implemented as the default behavior. > > So these ts-modes should be fixed based on the pattern in c-ts-mode. > Then after toggling to the sexp mode they will navigate all ts nodes > except nodes that define boundaries. Ok, here is more complete patch with a small improvement in c-ts-mode, and using the same pattern in java/css/ruby-ts-mode: