Updated plugins
This commit is contained in:
1 parent
5a2572df03
commit
fae0b73f0d
154 files changed
+3522
-1370
No files matched your search
@@ -7,7 +7,7 @@ let s:go_major_version = ""
|
||||
function! go#mod#Format() abort
|
||||
" go mod only exists in `v1.11`
|
||||
if empty(s:go_major_version)
|
||||
let tokens = matchlist(go#util#System("go version"), '\d\+.\(\d\+\)\(\.\d\+\)\? ')
|
||||
let tokens = matchlist(go#util#Exec(['go', 'version']), '\d\+.\(\d\+\)\(\.\d\+\)\? ')
|
||||
let s:go_major_version = str2nr(tokens[1])
|
||||
endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user