summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-12 13:05:59 +0100
committerw0rp <devw0rp@gmail.com>2018-07-12 13:05:59 +0100
commitac0abc7c1fb1150edc4359e1a86c2a22e95de71c (patch)
treeebe0ff7cd658568a35900b0e39bbeaeab6c2d655 /plugin
parent6ef31073dd8f8d094ef7bc5e7152a576ef4f9064 (diff)
downloadale-ac0abc7c1fb1150edc4359e1a86c2a22e95de71c.zip
Fix #1716 - Replace tempdir() with a wrapper to preserve TMPDIR
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim6
1 files changed, 0 insertions, 6 deletions
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 = {}