diff options
author | Timothée Sterle <timothee-s@mailoo.org> | 2021-06-14 23:19:45 +0200 |
---|---|---|
committer | Timothée Sterle <timothee-s@mailoo.org> | 2021-06-14 23:19:45 +0200 |
commit | 15039d7597cac5f0074000e775115830353a152c (patch) | |
tree | 961e9dfb20c0ea75e1c91c5b4b65f3b0c0099579 /runtime/lua/vim/lsp/util.lua | |
parent | 8162792283e918c963b514cefba1f9fa1ff544f7 (diff) | |
download | rneovim-15039d7597cac5f0074000e775115830353a152c.tar.gz rneovim-15039d7597cac5f0074000e775115830353a152c.tar.bz2 rneovim-15039d7597cac5f0074000e775115830353a152c.zip |
fix(lsp): allow 'rounded' and 'solid' in floats
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r-- | runtime/lua/vim/lsp/util.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua index 2ea848dfe9..afe1ead9ee 100644 --- a/runtime/lua/vim/lsp/util.lua +++ b/runtime/lua/vim/lsp/util.lua @@ -50,7 +50,7 @@ local function get_border_size(opts) local width = 0 if type(border) == 'string' then - local border_size = {none = {0, 0}, single = {2, 2}, double = {2, 2}, shadow = {1, 1}} + local border_size = {none = {0, 0}, single = {2, 2}, double = {2, 2}, rounded = {2, 2}, solid = {2, 2}, shadow = {1, 1}} if border_size[border] == nil then error("floating preview border is not correct. Please refer to the docs |vim.api.nvim_open_win()|" .. vim.inspect(border)) |