Closed bennypowers closed 1 year ago
Thanks for the reproduction steps. I don't think the issue is actually related to this plugin's usage, since with your config, this standalone command also raises an error:
:lua vim.ui.input({}, function(input) print(input) end)
I think the issue is that with your config, dressing.nvim tries to set number
as a buffer-local option, but :help 'number'
specifies that the option is window-local. Based on this line, it looks like you might want to try moving number
from buf_options
to win_options
.
Thank you for looking into this, that was indeed the problem!
copy this to
/tmp/mininit.lua
:Then do
And once the file loads and the server attaches, run
Observe: