Skip to content

Commit

Permalink
feat: Do not push help and tokens to left column (#237)
Browse files Browse the repository at this point in the history
It looks really bad with numbers enabled

Signed-off-by: Tomas Slusny <[email protected]>
  • Loading branch information
deathbeam authored Mar 24, 2024
1 parent a785eb4 commit 2b53687
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/CopilotChat/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ function M.show_virt_line(text, line, bufnr, mark_ns)
id = mark_ns,
hl_mode = 'combine',
priority = 100,
virt_lines_leftcol = true,
virt_lines = vim.tbl_map(function(t)
return { { '| ' .. t, 'DiagnosticInfo' } }
return { { t, 'DiagnosticInfo' } }
end, vim.split(text, '\n')),
})
end
Expand Down

0 comments on commit 2b53687

Please sign in to comment.