Skip to content

Commit

Permalink
feat: add extra space to ... on normal nerd font
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Oct 16, 2024
1 parent e4be059 commit 9b9647b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/blink/cmp/windows/autocomplete.lua
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ function autocomplete.draw()
-- Some LSPs can return labels with newlines.
-- Escape them to avoid errors in nvim_buf_set_lines when rendering the autocomplete menu.
local label = item.label:gsub('\n', '\\n')
if config.nerd_font_variant == 'normal' then label = label:gsub('', '') end

table.insert(
components_list,
Expand Down

0 comments on commit 9b9647b

Please sign in to comment.