This mirrors the functionality provided by the nvim.lsp.buf.code_action() function, and is useful for providing non-local or external diagnostic information to the textDocument/codeAction request.
I've also merged the use_range parameter into the options struct, it seemed more lua-y that way.
This mirrors the functionality provided by the
nvim.lsp.buf.code_action()
function, and is useful for providing non-local or external diagnostic information to thetextDocument/codeAction
request.I've also merged the use_range parameter into the options struct, it seemed more lua-y that way.
Let me know what you think!