Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit 1773f0e

Browse files
committed
docs: add docs for abbr_length and menu_length
1 parent d852385 commit 1773f0e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/completion-nvim.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,5 +369,20 @@ g:completion_sorting *g:completion_sorting*
369369

370370
default value: 'alphabet'
371371

372+
g:completion_abbr_length *g:completion_abbr_length*
373+
374+
Some language server have long snippets items, which can make your
375+
completion menu super long. This option enable you to truncate
376+
item.abbr with a maximum length.
377+
378+
default value: 0(which means no truncates)
379+
380+
g:completion_menu_length *g:completion_menu_length*
381+
382+
Similar to `g:completion_abbr_length`, language server may populate
383+
the completion menus with long menu items. This option enable you
384+
truncate item.menu with a maximum length.
385+
386+
default value: 0(which means no truncates)
372387
==============================================================================
373388
vim:tw=78:ts=8:ft=help:norl:noet:fen:noet:

0 commit comments

Comments
 (0)