aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-11-03 00:03:26 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-11-03 00:03:26 +1300
commita2f565010eacef878db8baad4e3d23f312efbb7e (patch)
tree743e074d1d0ffb6c4c90edb95088aa0f367315a6 /vim/vimrc
parentTidy big file measures into a function (diff)
downloaddotfiles-a2f565010eacef878db8baad4e3d23f312efbb7e.tar.gz
dotfiles-a2f565010eacef878db8baad4e3d23f312efbb7e.zip
Make explicit local vars
Diffstat (limited to 'vim/vimrc')
-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