10 changed files with 35 additions and 7 deletions
@ -1 +1 @@
|
||||
Subproject commit 1d4f98553852499e0f8ebd951db6ada2b1d973e3 |
||||
Subproject commit 80ab12c7b645b392feb98723873d77b045a0a7e2 |
@ -1 +1 @@
|
||||
Subproject commit 48af2afd3ef06a61242d5c08a6357879ea639c36 |
||||
Subproject commit b9f83175951654256cff41737841b4abc0c9266d |
@ -0,0 +1,24 @@
|
||||
set suffixes+=.aux,.bbl,.blg,.brf,.cb,.dvi,.idx,.ilg,.ind,.inx,.jpg,.log,.out,.png,.toc |
||||
set suffixes-=.h |
||||
set suffixes-=.obj |
||||
|
||||
" Move temporary files to a secure location to protect against CVE-2017-1000382 |
||||
if exists('$XDG_CACHE_HOME') |
||||
let &g:directory=$XDG_CACHE_HOME |
||||
else |
||||
let &g:directory=$HOME . '/.cache' |
||||
endif |
||||
let &g:undodir=&g:directory . '/vim/undo//' |
||||
let &g:backupdir=&g:directory . '/vim/backup//' |
||||
let &g:directory.='/vim/swap//' |
||||
|
||||
" Create directories if they doesn't exist |
||||
if ! isdirectory(expand(&g:directory)) |
||||
silent! call mkdir(expand(&g:directory), 'p', 0700) |
||||
endif |
||||
if ! isdirectory(expand(&g:backupdir)) |
||||
silent! call mkdir(expand(&g:backupdir), 'p', 0700) |
||||
endif |
||||
if ! isdirectory(expand(&g:undodir)) |
||||
silent! call mkdir(expand(&g:undodir), 'p', 0700) |
||||
endif |
@ -1 +1 @@
|
||||
Subproject commit 1cd724dc239c3a0f7a12e0fac85945cc3dbe07b0 |
||||
Subproject commit 12dd6316974f71ce333e360c0260b4e1f81169c3 |
@ -1 +1 @@
|
||||
Subproject commit c161994e9607399a7b365ab274592bfc4f100306 |
||||
Subproject commit d52700284984ada048ce325404dfa25237271ba1 |
@ -1 +1 @@
|
||||
Subproject commit 24dfc44639166f910ef9e3ca3902e02df77a342a |
||||
Subproject commit 8b7abe2d470b7fffac6562818468e14594735564 |
Loading…
Reference in new issue