aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--installer/go_install.cmd2
-rwxr-xr-xinstaller/go_install.sh1
-rw-r--r--plugin/lsp_settings.vim1
3 files changed, 4 insertions, 0 deletions
diff --git a/installer/go_install.cmd b/installer/go_install.cmd
index 16e1ca8..642b6a9 100644
--- a/installer/go_install.cmd
+++ b/installer/go_install.cmd
@@ -5,4 +5,6 @@ if "x%1" equ "x" goto :EOF
set GOPATH=%cd%
set GOBIN=%cd%
go get -v -u %1
+set GOBIN=
+go clean -modcache
rd /S /Q "src" "pkg" 2> NULL
diff --git a/installer/go_install.sh b/installer/go_install.sh
index be5feff..4f6b6dd 100755
--- a/installer/go_install.sh
+++ b/installer/go_install.sh
@@ -6,4 +6,5 @@
set -e
GOPATH=$(pwd) GOBIN=$(pwd) GO111MODULE=on go get -v "$1"
+GOPATH=$(pwd) GO111MODULE=on go clean -modcache
rm -rf src pkg 2> /dev/null
diff --git a/plugin/lsp_settings.vim b/plugin/lsp_settings.vim
index ed9cc73..32ff72c 100644
--- a/plugin/lsp_settings.vim
+++ b/plugin/lsp_settings.vim
@@ -4,6 +4,7 @@ endif
let g:loaded_lsp_settings= 1
let g:lsp_settings_root_markers = get(g:, 'lsp_settings_root_markers', [
+ \ '.git',
\ '.git/',
\ '.svn/',
\ '.hg/',