diff options
author | Noval Maulana <nxvxl@protonmail.com> | 2022-05-07 15:35:08 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-07 10:35:08 +0200 |
commit | d30621064105d1f5e4e695fb09607269694f02d0 (patch) | |
tree | 4286adf5702c7510400b8e9296557f1d7c9c7b29 | |
parent | 6c39f9d4277778d8532bf8c308d59470a03ee2b9 (diff) | |
download | rneovim-d30621064105d1f5e4e695fb09607269694f02d0.tar.gz rneovim-d30621064105d1f5e4e695fb09607269694f02d0.tar.bz2 rneovim-d30621064105d1f5e4e695fb09607269694f02d0.zip |
docs: change wrap_at type to number (#18456)
-rw-r--r-- | runtime/doc/lsp.txt | 2 | ||||
-rw-r--r-- | runtime/lua/vim/lsp/util.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index be46bbfa66..299efe5bf6 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -1703,7 +1703,7 @@ open_floating_preview({contents}, {syntax}, {opts}) • width: (number) width of floating window • wrap: (boolean, default true) wrap long lines - • wrap_at: (string) character to wrap at for + • wrap_at: (number) character to wrap at for computing height when wrap is enabled • max_width: (number) maximal width of floating window diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua index 72dfb3cd76..bb87e8372b 100644 --- a/runtime/lua/vim/lsp/util.lua +++ b/runtime/lua/vim/lsp/util.lua @@ -1384,7 +1384,7 @@ end --- - height: (number) height of floating window --- - width: (number) width of floating window --- - wrap: (boolean, default true) wrap long lines ---- - wrap_at: (string) character to wrap at for computing height when wrap is enabled +--- - wrap_at: (number) character to wrap at for computing height when wrap is enabled --- - max_width: (number) maximal width of floating window --- - max_height: (number) maximal height of floating window --- - pad_top: (number) number of lines to pad contents at top |