From ac0abc7c1fb1150edc4359e1a86c2a22e95de71c Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 12 Jul 2018 13:05:59 +0100 Subject: Fix #1716 - Replace tempdir() with a wrapper to preserve TMPDIR --- plugin/ale.vim | 6 ------ 1 file changed, 6 deletions(-) (limited to 'plugin/ale.vim') diff --git a/plugin/ale.vim b/plugin/ale.vim index 16a40268..ad2639bb 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -35,12 +35,6 @@ endif " Set this flag so that other plugins can use it, like airline. let g:loaded_ale = 1 -" Set the TMPDIR environment variable if it is not set automatically. -" This can automatically fix some environments. -if has('unix') && empty($TMPDIR) - let $TMPDIR = '/tmp' -endif - " This global variable is used internally by ALE for tracking information for " each buffer which linters are being run against. let g:ale_buffer_info = {} -- cgit v1.2.3