aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/snippet.lua
diff options
context:
space:
mode:
authornwounkn <nwounkn@gmail.com>2023-10-26 08:44:28 +0500
committerGitHub <noreply@github.com>2023-10-26 11:44:28 +0800
commit9de157bce4b6eb055a0d7a39d1ed6b7a6e6c6545 (patch)
treebdd09d6fec50cd1b85680d53d6b9bb8f7d384288 /runtime/lua/vim/snippet.lua
parentf2fc44550fbe5b7ebfedc2b155dc41e93f49aedb (diff)
downloadrneovim-9de157bce4b6eb055a0d7a39d1ed6b7a6e6c6545.tar.gz
rneovim-9de157bce4b6eb055a0d7a39d1ed6b7a6e6c6545.tar.bz2
rneovim-9de157bce4b6eb055a0d7a39d1ed6b7a6e6c6545.zip
fix(float): win_get_bordertext_col returning negative column number (#25752)
Problem: `win_get_bordertext_col` returns column < 1 for right or center aligned text, if its length is more than window width. Solution: Return max(resulting_column, 1)
Diffstat (limited to 'runtime/lua/vim/snippet.lua')
0 files changed, 0 insertions, 0 deletions