Open balazser opened 2 years ago
Much, much later, but you can override the function to populate the quickfix list without checking:
lua <<EOF
local Q = require("diaglist.quickfix")
Q.diagnostics_hook = function()
Q.change_since_render = true
Q.debounced_populate_qflist()
end
require("diaglist").init({})
EOF
Hi @onsails, Thank you for your plugin. I use it with the sample config:
I noticed the quickfix only populated after I call
lua require('diaglist').open_all_diagnostics()
which sets the window title and in this way lets thevim.fn.getqflist{ title = 0 }.title ~=
check to pass. So currently, I always get theprint('foreign quickfix, not populating')
message for using:copen
. I'm wondering why does it work like this? Should the README point it out?