You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I have many transient lsp errors while writing code, especially when none-ls is surfacing formatting errors from prettier.
Are there config options to prevent shifting layout / newlines in my code? Or any better advice for dealing with these kinds of errors? Maybe a keybinding to toggle on/off errors. Or only show virtual text on the right without layout shift?
Here's a very minimal example that's not too bad:
Here's a worse example with prettier errors that makes the actual code pretty much indecipherable:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Sometimes I have many transient lsp errors while writing code, especially when none-ls is surfacing formatting errors from prettier.
Are there config options to prevent shifting layout / newlines in my code? Or any better advice for dealing with these kinds of errors? Maybe a keybinding to toggle on/off errors. Or only show virtual text on the right without layout shift?
Here's a very minimal example that's not too bad:
Here's a worse example with prettier errors that makes the actual code pretty much indecipherable:
Beta Was this translation helpful? Give feedback.
All reactions