Skip to content

Conversation

frankroeder
Copy link
Owner

@frankroeder frankroeder commented Mar 3, 2025

Adresses #19 #109 #97

How to get started

  1. Add { name = "parrot_completion" } to cmp.sources.
  2. Use @file:or @buffer: to add additional context.

TODO

  • Add support for PrtRewrite and similar command/hook inputs
  • Check for additional input source support
  • Consider choosing context with fileline info, e.g., @file:foobar:12-20

frankroeder and others added 5 commits March 3, 2025 10:57
- improve content parsing
- Add error handling to is_available function in completion source
- Fix buffer handling to avoid errors with special buffers
- Make context insertion more robust with pcall wrappers
- Enhance file path handling with better error handling
- Update tests to verify robustness and error handling
- Fix test configuration with mock setup

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@georgeharker
Copy link

This looks fantastic!

@frankroeder frankroeder merged commit e87a3a1 into main Mar 11, 2025
2 checks passed
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