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
|
set number
|
||||||
endif
|
endif
|
||||||
|
|
||||||
for dir in ['backup', 'swap', 'undo']
|
for dir_name in ['backup', 'swap', 'undo']
|
||||||
EnsureDir($XDG_STATE_HOME .. '/vim/' .. dir)
|
EnsureDir($XDG_STATE_HOME .. '/vim/' .. dir_name)
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
set backupdir=.,$XDG_STATE_HOME/vim/backup
|
set backupdir=.,$XDG_STATE_HOME/vim/backup
|
||||||
|
|
Loading…
Reference in a new issue