aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 2b8430d3..bc74c35c 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -568,8 +568,8 @@ if has('eval') && has('autocmd')
" Declare function for turning off slow options
function! BigFileMeasures()
- let file = expand("<afile>")
- if getfsize(file) > g:bigfilesize
+ let l:file = expand("<afile>")
+ if getfsize(l:file) > g:bigfilesize
setlocal nobackup
setlocal nowritebackup
setlocal noswapfile