Skip to content

Commit 9b9647b

Browse files
committed
feat: add extra space to ... on normal nerd font
1 parent e4be059 commit 9b9647b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/blink/cmp/windows/autocomplete.lua

+1
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ function autocomplete.draw()
257257
-- Some LSPs can return labels with newlines.
258258
-- Escape them to avoid errors in nvim_buf_set_lines when rendering the autocomplete menu.
259259
local label = item.label:gsub('\n', '\\n')
260+
if config.nerd_font_variant == 'normal' then label = label:gsub('', '') end
260261

261262
table.insert(
262263
components_list,

0 commit comments

Comments
 (0)