summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-15 23:04:50 +0100
committerw0rp <devw0rp@gmail.com>2018-07-15 23:04:50 +0100
commitb2e2bbd0420133601c2f975109f90123b4e23d7e (patch)
tree4ca06806a05caed0ef8e3ffd6bb77c2867b3b3f9
parentd9e12cb04773635e545e079ab9ffebc4fbb2043a (diff)
downloadale-b2e2bbd0420133601c2f975109f90123b4e23d7e.zip
unlet $TMPDIR too, where we can
-rw-r--r--autoload/ale/util.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/util.vim b/autoload/ale/util.vim
index 93b997ea..eb2877b2 100644
--- a/autoload/ale/util.vim
+++ b/autoload/ale/util.vim
@@ -290,6 +290,7 @@ function! ale#util#Tempname() abort
finally
if l:clear_tempdir
let $TMPDIR = ''
+ silent! unlet! $TMPDIR
endif
endtry