An open API service indexing awesome lists of open source software.

https://github.com/cseickel/diagnostic-window.nvim

Shows diagnostic messages in a separate window, which is particularly helpful for long message like those seen in typescript.
https://github.com/cseickel/diagnostic-window.nvim

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://user-images.githubusercontent.com/5160605/175788492-320fb6e7-a11d-4b16-9083-acb50f3e1d30.png)

## Quickstart

Clone the repository using your favorite plugin manager, including
[MunifTanjim/nui.vim](https://github.com/MunifTanjim/nui.nvim). For example, with packer:
```lua
use {
"cseickel/diagnostic-window.nvim",
requires = { "MunifTanjim/nui.nvim" }
}

```

Then open the window with this command:
```
:DiagWindowShow
```

## License

MIT

## Contributing

Please do!