hrsh7th / cmp-cmdline

nvim-cmp source for vim's cmdline
MIT License
547 stars 42 forks source link

New `statuscolumn` option modifies the cmdline popup #78

Closed mcauley-penney closed 1 year ago

mcauley-penney commented 1 year ago

Nightly just merged the statuscolumn option, allowing users to customize the gutter and line number columns. I found that, at least with the settings I'm currently using for the statuscolumn, the cmp-cmdline popup window is modified and, in this particular case, runs off the right of the popup.

In the below GIF, I use the cmdline popup before the statuscolumn option is set and then after. Before, you can see proper functioning but, after, line numbers appear, the type of the item in the list runs off the edge, etc. It appears to adopt whatever settings are given for statuscolumn.

statuscolumn_cmp-cmdline

gegoune commented 1 year ago

Update your nvim - it has been fixed upstream.

hrsh7th commented 1 year ago

@gegoune Thanks. I'll update my neovim in my local environment.

mcauley-penney commented 1 year ago

Update your nvim - it has been fixed upstream.

Thank you, I wasn't aware and appreciate the correction!