aboutsummaryrefslogtreecommitdiff
path: root/vim.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-28 11:42:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-28 11:42:57 -0300
commita9eebc7ba967755ef4cc4f6cf9bef8589a68aa5a (patch)
tree0105a0a948ada1d3b4965226d3eec6abb47dea56 /vim.dot.link
parentbbc8784ecd0adae6acb092ba22cbb835ec80193a (diff)
downloadvim-a9eebc7ba967755ef4cc4f6cf9bef8589a68aa5a.tar.gz
vim-a9eebc7ba967755ef4cc4f6cf9bef8589a68aa5a.tar.bz2
Fix: session_workarounds: variable name
Diffstat (limited to 'vim.dot.link')
-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