Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onsails/diaglist.nvim
Live render workspace diagnostics in quickfix with current buf errors on top, buffer diagnostics in loclist
https://github.com/onsails/diaglist.nvim
loclist lsp lua neovim nvim quickfix workspace-diagnostics
Last synced: about 2 months ago
JSON representation
Live render workspace diagnostics in quickfix with current buf errors on top, buffer diagnostics in loclist
- Host: GitHub
- URL: https://github.com/onsails/diaglist.nvim
- Owner: onsails
- Created: 2021-07-21T16:25:41.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-01T13:40:43.000Z (almost 2 years ago)
- Last Synced: 2024-01-24T08:08:29.169Z (4 months ago)
- Topics: loclist, lsp, lua, neovim, nvim, quickfix, workspace-diagnostics
- Language: Lua
- Homepage:
- Size: 10.2 MB
- Stars: 169
- Watchers: 4
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Lists
- awesome-neovim - onsails/diaglist.nvim - Live render workspace diagnostics in quickfix, buffer diagnostics in loclist. (LSP / (requires Neovim 0.5))
- my-awesome-stars - onsails/diaglist.nvim - Live render workspace diagnostics in quickfix with current buf errors on top, buffer diagnostics in loclist (Lua)
- awesome-stars - onsails/diaglist.nvim - Live render workspace diagnostics in quickfix with current buf errors on top, buffer diagnostics in loclist (Lua)
- awesome-stars - onsails/diaglist.nvim - Live render workspace diagnostics in quickfix with current buf errors on top, buffer diagnostics in loclist (Lua)
- awesome-neovim - onsails/diaglist.nvim - Live render workspace diagnostics in quickfix, buffer diagnostics in loclist. (LSP / (requires Neovim 0.5))
- awesome-neovim - onsails/diaglist.nvim - Live render workspace diagnostics in quickfix, buffer diagnostics in loclist. (LSP / (requires Neovim 0.5))
README
# Live-updating Neovim LSP diagnostics in quickfix and loclist
![demo](https://github.com/onsails/diaglist.nvim/raw/gif/demo.gif)
## Features
- [x] workspace diagnostics of all buffers in quickfix
- [x] prioritize current buf diagnostics
- [x] live diagnostics update
- [x] no conflicts with other commands using quickfix
- [x] optionally show only current buffer's clients diagnostics
- [x] debounce
- [x] current buffer diagnostics in loclist
- [x] live diagnostics update
- [ ] no conflicts with other commands using loclist
- [ ] debounce## Setup
```lua
lua require("diaglist").init({
-- optional settings
-- below are defaults
debug = false,-- increase for noisy servers
debounce_ms = 150,
})
```Init sets diag update on `LspDiagnosticsChanged`, `WinEnter`, `BufEnter` for live diagnostics update
and `QuickFixCmdPre` to avoid conflicts with other commands using quickfix.## Mappings
There are no default mappings. Here is an example:
```vimscript
nmap dw lua require('diaglist').open_all_diagnostics()
nmap d0 lua require('diaglist').open_buffer_diagnostics()
```