A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/onsails/diaglist.nvim below:

onsails/diaglist.nvim: Live render workspace diagnostics in quickfix with current buf errors on top, buffer diagnostics in loclist

Live-updating Neovim LSP diagnostics in quickfix and loclist

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.

There are no default mappings. Here is an example:

nmap <space>dw <cmd>lua require('diaglist').open_all_diagnostics()<cr>
nmap <space>d0 <cmd>lua require('diaglist').open_buffer_diagnostics()<cr>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4