echasnovski / mini.nvim

Library of 40+ independent Lua modules improving overall Neovim (version 0.8 and higher) experience with minimal effort
MIT License
5.24k stars 190 forks source link

Question: How can I get completion type like demo video (function, variable, etc.) #711

Closed toshmukhamedov closed 8 months ago

toshmukhamedov commented 8 months ago

Configuration:

image

what I got:

image

what I expect:

image

Second question: What can I put to window.completion.border instead of none?

toshmukhamedov commented 8 months ago

It was colorscheme issue. It worked well with another colorscheme

image
echasnovski commented 8 months ago

Both questions from original issue is not the color scheme issues.

How can I get completion type like demo video (function, variable, etc.)

It appears if there is an active LSP client which can provide completions for particular text.

Second question: What can I put to window.completion.border instead of none?

See :h vim.api.nvim_open_win() and see its "border" option.