diff options
author | shadmansaleh <shadmansaleh3@gmail.com> | 2021-06-01 13:33:07 +0600 |
---|---|---|
committer | shadmansaleh <shadmansaleh3@gmail.com> | 2021-06-01 17:23:35 +0600 |
commit | 0bd34cb4ec301abeb751f8d3be1d3b644a009355 (patch) | |
tree | e67c2a5f0ee629bac2f8dd70ca911aed518e9596 /runtime/lua/vim/lsp/buf.lua | |
parent | 27c616d688c73c406726c949a3b664f52d4e4f04 (diff) | |
download | rneovim-0bd34cb4ec301abeb751f8d3be1d3b644a009355.tar.gz rneovim-0bd34cb4ec301abeb751f8d3be1d3b644a009355.tar.bz2 rneovim-0bd34cb4ec301abeb751f8d3be1d3b644a009355.zip |
feat(lsp): Make focusability of lsp float configurable
This pr allows the user to specify whether `lsp.utils.open_floating_preview`
is focusable via the `opts` parameter. Defaults to true.
It can be configured by setting the focusable key inside opts parameter:
```lua
vim.lsp.util.open_floating_preview(contents, syntax, {focusable = false})
```
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
0 files changed, 0 insertions, 0 deletions