Documentation max width sometimes doesn't follow `window.documentation.max_width`
Please see the following screenshot of using rust_analyzer with nvim-cmp.
The command whose output is shown is lua =require("cmp.config").get().window
Seems like the max_width is indeed set properly, but the docs window is so big.
Many thanks for your help! Please let me know if this is a duplicate of any other issue or if I'm making a stupid mistake (likely).
Best, mbrc12
Related issues: https://github.com/hrsh7th/nvim-cmp/issues/1154 https://github.com/hrsh7th/nvim-cmp/issues/1673
@Shougo these appear to be for the completion menu, and not the documentation window, if I am not mistaken? Thanks for pointing out that it is likely a rust specific issue.
It is about completion menu with documentation window issue. So I think it is similar. And it is for rust.
Closing, it was a mistake in configuration on my part. Seems to work perfectly.