diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2021-11-29 15:37:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 15:37:55 -0700 |
commit | fff8827908494a9c4bd5de10c409189929b3db56 (patch) | |
tree | 2eb6d3da035460f9d6254f5d89dadbd9a23ebad9 /runtime/lua/vim/lsp/rpc.lua | |
parent | b16b7021efe905a0e69731ffa13e6d187fdddb8d (diff) | |
download | rneovim-fff8827908494a9c4bd5de10c409189929b3db56.tar.gz rneovim-fff8827908494a9c4bd5de10c409189929b3db56.tar.bz2 rneovim-fff8827908494a9c4bd5de10c409189929b3db56.zip |
feat(lsp): add 'focus' option to open_floating_preview (#16465)
When the 'focusable' and 'focus_id' parameters are set,
`open_floating_preview` assumes that it should always move focus to an
existing floating window with the same 'focus_id'. However, there are
cases where we want to make a floating window focusable, but do not want
to focus it upon calling `open_floating_preview`. To distinguish these
cases, add a boolean parameter 'focus' that, when false, prevents
moving focus.
Diffstat (limited to 'runtime/lua/vim/lsp/rpc.lua')
0 files changed, 0 insertions, 0 deletions