-
Notifications
You must be signed in to change notification settings - Fork 395
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
bug: apply/Apply all will accidentally create new folder named Here are the *SEARCH
on not well formatted response.
#1288
Comments
Could you take a more complete screenshot? I want to see what the line above |
@yetone how about using tree-sitter-markdown to parse the diff blocks? |
It is recommended to use Cursor planning mode, as this issue will not exist in that mode: https://github.com/yetone/avante.nvim/blob/main/cursor-planning-mode.md |
I tried to turn on the planning behavior, but with the cached response, this issue persists. Do I need to call Moreover, with planning behavior + my tree-sitter-markdown patch + cached response, I get a new error:
|
After switching modes, do not use the response from the history; generate a new response. |
I can't tell if it's fixed then, as I can't create the exact response once again. |
Describe the bug
Also press
a
for apply on certain line will create new file named with code snippetTo reproduce
I believe the key to reproduce the problem is the response itself, so I've just paste my response here:
Reponse
Filepath: crates/nu-protocol/src/ast/operator.rs
Replace lines: 8-9
Filepath: crates/nu-protocol/src/ast/operator.rs
Replace lines: 26-27
Filepath: crates/nu-protocol/src/ast/operator.rs
Replace lines: 38-39
Filepath: crates/nu-protocol/src/ast/operator.rs
Replace lines: 45-46
Expected behavior
No response
Installation method
Use lazy.nvim:
Environment
NVIM v0.10.4
Build type: Release
LuaJIT 2.1.1713773202
Repro
The text was updated successfully, but these errors were encountered: