You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to modify the statement.outer behavior so that it skips comments when used in conjunction with goto_next_start. To accomplish that, I created a file textobjects.scm under after/queries/python with the following contents:
However, this hasn't worked. I got the predicate kind-eq by searching the existing queries. I also tried not-any-of that is documented in :help treesitter but it didn't work either. Any suggestions would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to modify the
statement.outer
behavior so that it skips comments when used in conjunction withgoto_next_start
. To accomplish that, I created a filetextobjects.scm
underafter/queries/python
with the following contents:However, this hasn't worked. I got the predicate
kind-eq
by searching the existing queries. I also triednot-any-of
that is documented in:help treesitter
but it didn't work either. Any suggestions would be greatly appreciated.Beta Was this translation helpful? Give feedback.
All reactions