From fd271de3618194c264248e82c1441fd520e498fb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 28 Jul 2024 14:11:28 -0300 Subject: Fix: markdown updates --- vim.dot.link/plugin/session_workarounds.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vim.dot.link/plugin') 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 -- cgit v1.2.3