parent
20348a5552
commit
94a9fee96f
@ -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
|
@ -1 +1 @@
|
||||
Subproject commit 14f7fda00013a11213c767f82f5f03a2e735ba06
|
||||
Subproject commit ac23bd95d5fe0c7a7bf4a331e9d37eb72697c46e
|
Reference in new issue