neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit d30621064105d1f5e4e695fb09607269694f02d0
parent 6c39f9d4277778d8532bf8c308d59470a03ee2b9
Author: Noval Maulana <nxvxl@protonmail.com>
Date:   Sat,  7 May 2022 15:35:08 +0700

docs: change wrap_at type to number (#18456)


Diffstat:
Mruntime/doc/lsp.txt | 2+-
Mruntime/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 @@ -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 @@ -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