aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim.dot.link/plugin/session_workarounds.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim.dot.link/plugin/session_workarounds.vim b/vim.dot.link/plugin/session_workarounds.vim
index be51942..ec891a8 100644
--- a/vim.dot.link/plugin/session_workarounds.vim
+++ b/vim.dot.link/plugin/session_workarounds.vim
@@ -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