Skip to content

10/11: fix: helper edge case and typo#664

Merged
juleswritescode merged 2 commits intostacked/pr629-9-print-utilsfrom
stacked/pr629-10-fixes
Jan 25, 2026
Merged

10/11: fix: helper edge case and typo#664
juleswritescode merged 2 commits intostacked/pr629-9-print-utilsfrom
stacked/pr629-10-fixes

Conversation

@juleswritescode
Copy link
Collaborator

@juleswritescode juleswritescode commented Jan 24, 2026

Summary

  • Fix previous_sibling_completed to return true when no sibling exists
  • Fix typo "speciifcation" -> "specification"

Part of stacked PRs for #629

This is PR 10/11 in the keyword completion feature stack.

- return true when no previous sibling in previous_sibling_completed
- fix delete -> delete_statement clause mapping
- fix typo speciifcation -> specification
@juleswritescode juleswritescode changed the title 10/11: fix(treesitter): fix helper and context edge cases 10/11: fix: helper edge case and typo Jan 24, 2026
"update" => Some(WrappingClause::Update),
"select" => Some(WrappingClause::Select),
"delete" => Some(WrappingClause::Delete),
"delete_statement" => Some(WrappingClause::Delete),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the difference between the names?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"delete" doesn't even exist as a node 🤷🏻

"delete_statement" should now be the parent of every statement starting with a delete keyword.

…ied (#660)

## Summary
- Update all completion snapshots for keyword completions
- Update grammar test snapshots for field name output
- Remove #[ignore] attributes from tests
- Update test helper

## Part of stacked PRs for #629

This is PR 11/11 in the keyword completion feature stack.

---------

Co-authored-by: JulesWritesCode <julian.rechnungen@outlook.de>
@juleswritescode juleswritescode merged commit bc95e8a into stacked/pr629-9-print-utils Jan 25, 2026
8 checks passed
@juleswritescode juleswritescode deleted the stacked/pr629-10-fixes branch January 25, 2026 14:07
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

Successfully merging this pull request may close these issues.

2 participants