Skip to content

Move ast-grep documentation under the prompt-customization page #24

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

Merged
merged 3 commits into from
Mar 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Correct grammar for ast-grep documentation
  • Loading branch information
petrisorcoderabbit committed Mar 13, 2024
commit e1e9e85ec7f81bc1e899d71a77d39bec10c3a8c0
2 changes: 1 addition & 1 deletion docs/guides/prompt-customization.md
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ reviews:

### The rule object

Rule object is the core concept of ast-grep's rule system and every other features are built on top of it.
Rule object is the core concept of ast-grep's rule system and every other feature is built on top of it.

Below is the full list of fields in a rule object. Every rule field is optional and can be omitted but at least one field should be present in a rule. A node will match a rule if and only if it satisfies all fields in the rule object.
```yaml