/diagnostic-window.nvim

Shows diagnostic messages in a separate window, which is particularly helpful for long message like those seen in typescript.

Primary LanguageLuaMIT LicenseMIT

Diagnostic Window

Shows the diagnostic messages for the given line in a split window. This was created to help decipher very long typescript messages that don't fit nicely into a floating window or virtual text.

This also adds custom syntax highlighting for the diagnostic message.The current version was designed specifically for typescript errors.

diagnostic-window-typescript-example

Quickstart

Clone the repository using your favorite plugin manager, including MunifTanjim/nui.vim. For example, with packer:

  use { 
    "cseickel/diagnostic-window.nvim",
    requires = { "MunifTanjim/nui.nvim" }
  }

Then open the window with this command:

:DiagWindowShow

License

MIT

Contributing

Please do!