hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
7.47k stars 370 forks source link

docs: fix invalid WindowConfig schema, should match to the docs #1779

Closed wookayin closed 3 months ago

wookayin commented 6 months ago

Problem: cmp.WindowConfig was defined twice, and not consistent with docs |cmp.txt|.

Solution: Introduce cmp.CompletionWindowOptions and cmp.DocumentationWindowOptions. Make fields of these two class consistent with |cmp-config.window.*|

hrsh7th commented 3 months ago

perfect. thank you.