0

Now I have this:

typescript error

Sometimes errors are big, and in order to see them clearly - I run tsc to see this:

tsc error

Also, is it possible to see a type name, but not a fields enumeration?

I use ALE and tsuquyomi.

3
  • Assuming the first screenshot is in the location or quickfix list, try :set wrap (also please don't post images of text)
    – D. Ben Knoble
    Commented Jul 13, 2022 at 13:59
  • Yes, thanks, set wrap works, and is it possible to show type name in error instead of fields? Commented Jul 13, 2022 at 14:07
  • For that you probably need to configure the program that produces the output, or work with things like :help quickfix-functions to "filter" the program output (assuming it has all the things you need)
    – D. Ben Knoble
    Commented Jul 13, 2022 at 14:39

1 Answer 1

1

To wrap the lines of any window, you can run :set wrap.

To modify error messages, you either need to configure or improve the program that produces them or [if all the information is already present and you only need to change the presentation] work with the Quickfix API (:help quickfix-functions) to modify the list.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.