diff options
author | rrueger <rrueger@ethz.ch> | 2020-07-23 11:25:03 +0200 |
---|---|---|
committer | rrueger <rrueger@ethz.ch> | 2020-07-23 11:25:03 +0200 |
commit | b20c29c906e03bbe483c86013eb3ee5fec4881a4 (patch) | |
tree | 02feaedfca1aa8e88690f6ec1d31cdef0c55409b /screenshots/statusryne-tabline.png | |
parent | b039ee8ccbe6bd4920e78fd7f67671a11390f2d9 (diff) | |
download | statusryne-b20c29c906e03bbe483c86013eb3ee5fec4881a4.tar.gz statusryne-b20c29c906e03bbe483c86013eb3ee5fec4881a4.tar.bz2 statusryne-b20c29c906e03bbe483c86013eb3ee5fec4881a4.zip |
Correctly identify size of the current split
Until now, I was using &columns to determine the width of available
space for the statusline. However, when using a vertical split, &columns
would still report the full vim window width, not the split width. The
`winwidth(0)` (0 = current window) function returns the correct value.
Diffstat (limited to 'screenshots/statusryne-tabline.png')
0 files changed, 0 insertions, 0 deletions