summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-08-02 09:09:10 +0100
committerw0rp <devw0rp@gmail.com>2019-08-02 09:09:10 +0100
commitdd1e1025b8a9b13cb7966bf2baa3e6b42a862857 (patch)
treefeb86095d4535a7d0e9a205b36008e41d1696963 /plugin
parent3ae01ba24967a37e5a41626673422be53e188026 (diff)
downloadale-dd1e1025b8a9b13cb7966bf2baa3e6b42a862857.zip
Fix #2668 - Set g:ale_go_go111module
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 7edf9a50..6262a7c4 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -142,6 +142,9 @@ let g:ale_completion_enabled = get(g:, 'ale_completion_enabled', 0)
" Enable automatic detection of pipenv for Python linters.
let g:ale_python_auto_pipenv = get(g:, 'ale_python_auto_pipenv', 0)
+" This variable can be overridden to set the GO111MODULE environment variable.
+let g:ale_go_go111module = get(g:, 'ale_go_go111module', '')
+
if g:ale_set_balloons
call ale#balloon#Enable()
endif