luiisca / dotfiles

My Arch Linux config [AwesomeWM, Alacritty, Fish Shell, Neovim, Rofi and Vifm.]
1 stars 0 forks source link

`nvim-cmp` doesn't display signature help #12

Closed luiisca closed 8 months ago

luiisca commented 8 months ago

Invoking a new function and start typing it's arguments doesn't show info about the function like a brief description of what it does or the name of its parameters. Peek 2024-01-31 13-52

luiisca commented 8 months ago

apparently nvim-cmp doesn't support this feature. I'll try lsp_signature.nvim

luiisca commented 8 months ago

Tried https://github.com/hrsh7th/cmp-nvim-lsp-signature-help but did not like the appearence Peek 2024-01-31 13-57

luiisca commented 8 months ago

lsp_signature works but there is a problem, it doesn't really follow the same "styling" nvim-cmp uses. Peek 2024-01-31 17-15

This doesn't seem to be an issue for rust, although the formatting is still a bit off: Peek 2024-01-31 17-13

luiisca commented 8 months ago

noice.nvim solves this but doesn't provide this nice ghost text. Might be worth combining whatever it does with lsp_signature plugin. #13