aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/handlers.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-10-30 08:17:00 -0700
committerGitHub <noreply@github.com>2021-10-30 08:17:00 -0700
commitc9e5c778b0aa3e8af9dee2ebde199285056fc20c (patch)
tree0ed141ec4ae899419b487f0a42e31352af8f326d /runtime/lua/vim/lsp/handlers.lua
parenta141f6e9225fea065d8580b37510de2de168f9de (diff)
downloadrneovim-c9e5c778b0aa3e8af9dee2ebde199285056fc20c.tar.gz
rneovim-c9e5c778b0aa3e8af9dee2ebde199285056fc20c.tar.bz2
rneovim-c9e5c778b0aa3e8af9dee2ebde199285056fc20c.zip
feat(lsp): default to botright for setting qflist (#16177)
* Opens quickfix list spanning the entire nvim window in location handlers closes https://github.com/neovim/neovim/issues/12241
Diffstat (limited to 'runtime/lua/vim/lsp/handlers.lua')
-rw-r--r--runtime/lua/vim/lsp/handlers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua
index eff27807be..01d7102e8f 100644
--- a/runtime/lua/vim/lsp/handlers.lua
+++ b/runtime/lua/vim/lsp/handlers.lua
@@ -185,7 +185,7 @@ local function response_to_list(map_result, entity)
title = 'Language Server';
items = map_result(result, ctx.bufnr);
})
- api.nvim_command("copen")
+ api.nvim_command("botright copen")
end
end
end