luiisca / dotfiles

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

pressing Enter key on selected auto-completion candidate doesn't expand it #11

Closed luiisca closed 8 months ago

luiisca commented 8 months ago

This did the trick: https://github.com/LazyVim/LazyVim/blob/a50f92f7550fb6e9f21c0852e6cb190e6fcd50f5/lua/lazyvim/plugins/coding.lua#L28

luiisca commented 8 months ago

completioncallsnippet setting for lua language server extends default name completion to something like: function(arg1, arg2, arg3)

luiisca commented 8 months ago

apparently this is not needed for all language servers, only those that do not include it by default. This feature works out of the box in rust