Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description for rule prefixes mentions, but does not define, n #8

Open
aSemy opened this issue Apr 13, 2024 · 0 comments
Open

Description for rule prefixes mentions, but does not define, n #8

aSemy opened this issue Apr 13, 2024 · 0 comments

Comments

@aSemy
Copy link

aSemy commented Apr 13, 2024

The description for some of the rule prefixes mention an n variable.

# And also (where X and Y are each one of the above prefixes):
#
# X-Y -- Match starting with an X- match and ending with a Y- match
# X+ -- Match X where indentation is greater than n
# X-Y+ -- Match X-Y where indentation is greater than n

However, it is not clear what n is.

Is n supposed to be the current indentation level? So the rule could be read as "where indentation is greater than the current indentation level"? In which case, isn't this always false?

It would be helpful if n was explicitly defined, with an example (or a link to an example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant