-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(blink): use plain insertion instead of snippet.
Replace snippet-based insertion with plain text insertion for completion items generated by LLMs. Since LLM responses already contain appropriate indentation, using VSCode's snippet-style insertion mechanism would cause unwanted double-indentation, as the editor attempts to apply indentation rules on top of the pre-formatted text. Note: Currently, plain text insertion has a known upstream issue where the cursor position is incorrectly set to the end of the first suggested line instead of the last line. See Saghen/blink.cmp#1123 for progress.
- Loading branch information
1 parent
880262e
commit cd668aa
Showing
2 changed files
with
17 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters