diff options
author | Gregory Anders <greg@gpanders.com> | 2021-07-26 12:39:50 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 11:39:50 -0700 |
commit | 3e00d4f01cebedb758050e2e3faf065036fcfdc2 (patch) | |
tree | 8bd7eb8c163bd7897bb1225b509289ff8fc33559 /test/unit/viml/expressions/parser_spec.lua | |
parent | b8813bacfe7888c9c1b40ce27f414bb868d449be (diff) | |
download | rneovim-3e00d4f01cebedb758050e2e3faf065036fcfdc2.tar.gz rneovim-3e00d4f01cebedb758050e2e3faf065036fcfdc2.tar.bz2 rneovim-3e00d4f01cebedb758050e2e3faf065036fcfdc2.zip |
feat(lsp): make list handlers configurable (#15199)
The handlers for textDocument/references, textDocument/documentSymbol,
and workspace/symbol open their results in the quickfix list by default
and are not configurable. They are also incompatible with `vim.lsp.with`
as they do not accept a configuration parameter.
Add a `config` parameter to the handler for these three messages which
allows them to be configured with `vim.lsp.with`. Additionally, add a
new configuration option 'loclist' that, when true, causes these
handlers to open their results in the location list rather than the
quickfix list.
Diffstat (limited to 'test/unit/viml/expressions/parser_spec.lua')
0 files changed, 0 insertions, 0 deletions