Skip to content

Commit 2b53687

Browse files
authored
feat: Do not push help and tokens to left column (#237)
It looks really bad with numbers enabled Signed-off-by: Tomas Slusny <[email protected]>
1 parent a785eb4 commit 2b53687

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/CopilotChat/utils.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,8 @@ function M.show_virt_line(text, line, bufnr, mark_ns)
7676
id = mark_ns,
7777
hl_mode = 'combine',
7878
priority = 100,
79-
virt_lines_leftcol = true,
8079
virt_lines = vim.tbl_map(function(t)
81-
return { { '| ' .. t, 'DiagnosticInfo' } }
80+
return { { t, 'DiagnosticInfo' } }
8281
end, vim.split(text, '\n')),
8382
})
8483
end

0 commit comments

Comments
 (0)