onsails / diaglist.nvim

Live render workspace diagnostics in quickfix with current buf errors on top, buffer diagnostics in loclist
184 stars 5 forks source link

Export `populate_qflist()` publicly #12

Closed gw31415 closed 2 years ago

gw31415 commented 2 years ago

Hello. I am always grateful for this plugin. Sorry for my poor English.

Why don't you export the local function populate_qflist() in lua/diaglist/quickfix.lua publicly?

In my case, I want to add a diaglist to the quickfix list on LspAttach events (or equivalent timing: e.g. nvim-lspconfig callback function), but I do not want to display the quickfix window at that time.

onsails commented 2 years ago

Sure why not, please make a PR

onsails commented 2 years ago

Fixed by #13