]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Fix: session_workarounds: variable name
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 28 Jul 2024 14:42:57 +0000 (11:42 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 28 Jul 2024 14:42:57 +0000 (11:42 -0300)
vim.dot.link/plugin/session_workarounds.vim

index be51942b2692240fdd0d97889689650be91dfe06..ec891a8bbbf48e298787e69fc47398e5f55f7e1e 100644 (file)
@@ -24,7 +24,7 @@ command! -bang FixWindowWidths :call FixWindowWidths()
 " Fix window widths on all tabs
 function FixAllWindowWidths()
   " Make sure to run this only once
-  if exists("did_fixed_nerdtree_widths")
+  if exists("did_fixed_window_widths")
     return
   endif
 
@@ -39,7 +39,7 @@ function FixAllWindowWidths()
   " An additional, last move to the left pane
   wincmd l
 
-  let dir_fixed_nerdtree_widths=1
+  let did_fixed_window_widths=1
 endfunction
 
 " Ensure the window has maximized height