mfussenegger / nvim-jdtls

Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls
GNU General Public License v3.0
1.05k stars 61 forks source link

Truncate status messages instead of triggering "Press ENTER" prompt #509

Closed ghost closed 1 year ago

ghost commented 1 year ago

The behavior described in #207 occurs for me when the URLs of dependencies being downloaded are too long to fit on one line (because my config hascmdheight=1). A workaround is to adjust cmdheight to a number of lines that gives sufficient space for dependency URLs, but this is an undesirable change and the full dependency URLs are just noise.

The solution is to truncate messages whose length exceed vim.v.echospace.

mfussenegger commented 1 year ago

Thanks