Vim "virtual text?!?" fix

The issue is that when there's an error in nvim, the error message is going through the screen and its imposible to read it
Solution:
I don't know if you can reflow the error text to line wrap or something like that. But you can bind a key to vim.diagnostic.open_float() to get a popup similar to vim.lsp.buf.hover() which shows you the error in it's entirety
Jump to solution
6 Replies
John
JohnOP2y ago
John
JohnOP2y ago
is this error thingy tweaked by virtual text config or something else?
Solution
Vincent Udén
Vincent Udén2y ago
I don't know if you can reflow the error text to line wrap or something like that. But you can bind a key to vim.diagnostic.open_float() to get a popup similar to vim.lsp.buf.hover() which shows you the error in it's entirety
John
JohnOP2y ago
ok i tried some things and they are weird. For not i ended up with turning virtual text off. and turns out lsp zero already has binding for open_float thanks Vincent
John
JohnOP2y ago
John
JohnOP2y ago
for now it looks like that
Want results from more Discord servers?
Add your server