mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-01 16:03:44 +08:00
Fix #269 Set $TMPDIR to a default value, if not set
This commit is contained in:
1 parent
5bda827143
commit
c528ab1eaa
3 files changed
+12
No files matched your search
@@ -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 = {}
|
||||
|
||||
Reference in new issue
Block a user