Avoid shadowing 'dir' in init.vim
This commit is contained in:
parent
211ee2eb40
commit
b4425ed006
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ else
|
|||
set number
|
||||
endif
|
||||
|
||||
for dir in ['backup', 'swap', 'undo']
|
||||
EnsureDir($XDG_STATE_HOME .. '/vim/' .. dir)
|
||||
for dir_name in ['backup', 'swap', 'undo']
|
||||
EnsureDir($XDG_STATE_HOME .. '/vim/' .. dir_name)
|
||||
endfor
|
||||
|
||||
set backupdir=.,$XDG_STATE_HOME/vim/backup
|
||||
|
|
Loading…
Reference in a new issue