Detailed changes
@@ -232,10 +232,7 @@ func HighlightIntralineChanges(h *Hunk) {
for i := 0; i < len(h.Lines); i++ {
// Look for removed line followed by added line
- if i+1 < len(h.Lines) &&
- h.Lines[i].Kind == LineRemoved &&
- h.Lines[i+1].Kind == LineAdded {
-
+ if i+1 < len(h.Lines) && h.Lines[i].Kind == LineRemoved && h.Lines[i+1].Kind == LineAdded {
oldLine := h.Lines[i]
newLine := h.Lines[i+1]
@@ -365,7 +365,6 @@ func (g *geminiClient) stream(ctx context.Context, messages []message.Message, t
eventChan <- ProviderEvent{Type: EventContentStop}
if finalResp != nil {
-
finishReason := message.FinishReasonEndTurn
if len(finalResp.Candidates) > 0 {
finishReason = g.finishReason(finalResp.Candidates[0].FinishReason)
@@ -384,7 +383,6 @@ func (g *geminiClient) stream(ctx context.Context, messages []message.Message, t
}
return
}
-
}
}()
@@ -401,7 +401,6 @@ func (w *WorkspaceWatcher) WatchWorkspace(ctx context.Context, workspacePath str
"watched", matched,
"kind", kind,
)
-
}
// Check if this path should be watched according to server registrations
@@ -274,7 +274,6 @@ func unmarshallParts(data []byte) ([]ContentPart, error) {
default:
return nil, fmt.Errorf("unknown part type: %s", wrapper.Type)
}
-
}
return parts, nil
@@ -138,9 +138,7 @@ func (c *completionDialogCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
switch msg := msg.(type) {
case tea.KeyPressMsg:
if c.pseudoSearchTextArea.Focused() {
-
if !key.Matches(msg, completionDialogKeys.Complete) {
-
var cmd tea.Cmd
c.pseudoSearchTextArea, cmd = c.pseudoSearchTextArea.Update(msg)
cmds = append(cmds, cmd)
@@ -457,7 +457,6 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
}
switch {
-
case key.Matches(msg, keys.Quit):
a.showQuit = !a.showQuit
if a.showHelp {
@@ -580,7 +579,6 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
f, filepickerCmd := a.filepicker.Update(msg)
a.filepicker = f.(dialog.FilepickerCmp)
cmds = append(cmds, filepickerCmd)
-
}
if a.showFilepicker {
@@ -733,7 +731,6 @@ func (a appModel) View() string {
appView,
true,
)
-
}
// Show compacting status overlay