aboutsummaryrefslogtreecommitdiff
path: root/vim.dot.link/plugin
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-28 14:11:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-28 14:11:28 -0300
commitfd271de3618194c264248e82c1441fd520e498fb (patch)
tree9bb81e6c5a0a4e86fc98ca4013efb5c0f3fa2a0a /vim.dot.link/plugin
parenta9eebc7ba967755ef4cc4f6cf9bef8589a68aa5a (diff)
downloadvim-fd271de3618194c264248e82c1441fd520e498fb.tar.gz
vim-fd271de3618194c264248e82c1441fd520e498fb.tar.bz2
Fix: markdown updates
Diffstat (limited to 'vim.dot.link/plugin')
-rw-r--r--vim.dot.link/plugin/session_workarounds.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim.dot.link/plugin/session_workarounds.vim b/vim.dot.link/plugin/session_workarounds.vim
index ec891a8..af11f3d 100644
--- a/vim.dot.link/plugin/session_workarounds.vim
+++ b/vim.dot.link/plugin/session_workarounds.vim
@@ -55,6 +55,7 @@ endfunction
"
" https://superuser.com/questions/140419/how-to-start-gvim-maximized
" https://vim.fandom.com/wiki/Maximize_or_set_initial_window_size
+" https://vi.stackexchange.com/questions/8926/is-it-possible-to-obtain-the-displayable-area-width-and-height-of-current-buffe
"let lines_initial=&l:lines
function FixWindowHeights()
" Set the maximum available height
@@ -62,6 +63,9 @@ function FixWindowHeights()
" Set the lines depending on the LINES environment variable
" or through tput.
+ "
+ " This is not always inherited by vim:
+ " https://github.com/vim/vim/issues/12160
if $LINES != ""
execute ':set lines=' . $LINES
else