diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/ale.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim index 780d37e0..d65a99cb 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -25,6 +25,12 @@ if !s:has_features finish endif +" 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 = {} |