### What did you do? (required: The issue will be *closed when not provided)*
Opening a .go file
### What did you expect to happen?
Vim should open a .go file without error
### What happened instead?
Error detected while processing function
n[9]..100[2]..
line 281:
E117: Unknown function: go#job#Start
Error detected while processing function
n[9]..100:
line 1:
E715: Dictionary required
E715: Dictionary required
"controllers/account.go" 3046L, 101771C
Error detected while processing function
n[9]..100:
line 1:
E715: Dictionary required
E715: Dictionary required
E715: Dictionary required
Error detected while processing function
line 19:
E117: Unknown function: go#util#SetEnv
line 22:
E117: Unknown function: go#util#SetEnv
line 102:
E121: Undefined variable: Restore_path
E116: Invalid arguments for function call
line 103:
E121: Undefined variable: Restore_modules
E116: Invalid arguments for function call
#### vim-go version:
IMPROVEMENTS:
g:go_code_completion_enabled, to control whether omnifuncg:go_null_module_warning to silence the warning when:GoReportGitHubIssue to include vim-go configuration valuesg:go_info_mode='gopls' in go#complete#GetInfo.:GoLint, :GoErrCheck, and :GoDebug to work in null modules.g:go_info_mode and g:go_def_mode to 'gopls'.g:go_doc_popup_window to optionally use a popup windowBUG FIXES:
interface{} without truncating the function signature.goplsgopls responses in the same window from which the respective request:GoInfo to ensure the value will be:GoLint successfully in null modules.:GoReportGitHubIssue.g:go_def_mode='gopls'.:GoInfo on a package identifier).#### vimrc you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):
" Golang Plugins
Plug 'fatih/vim-go', {'do': ':GoInstallBinaries'}
"deoplete completion
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'wokalski/autocomplete-flow'
Plug 'Shougo/neosnippet'
Plug 'Shougo/neosnippet-snippets'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
Plug 'copy/deoplete-ocaml'
Plug 'Shougo/neco-vim'
"Plug 'deoplete-plugins/deoplete-jedi'
Plug 'fszymanski/deoplete-emoji'
Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' }
Plug 'Shougo/neco-syntax'
Plug 'deoplete-plugins/deoplete-tag'
" Plugin outside ~/.vim/plugged with post-update hook
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
"vim-go settings
let g:go_metalinter_autosave = 1
let g:go_test_show_name = 1
let g:go_play_browser_command = 'firefox-developer %URL% &'
let g:go_auto_type_info = 1
let g:go_auto_sameids = 1
let g:go_jump_to_error = 1
let g:go_fmt_autosave = 1
let g:go_fmt_command = "gofmt"
let g:go_mod_fmt_autosave = 1
let g:go_snippet_engine = "automatic"
let g:go_asmfmt_autosave = 1
let g:go_fold_enable = ['block', 'import', 'varconst', 'package_comment']
let g:go_debug = ["shell-commands","debugger-state","debugger-commands","lsp"]
let g:go_info_mode = 'gopls'
let g:go_fmt_fail_silently = 1
let g:go_fmt_experimental = 1
let g:go_def_mode = 'gopls'
let g:go_metalinter_autosave = 1
let g:go_highlight_functions = 1
let g:go_highlight_variable_declarations = 1
let g:go_highlight_variable_assignments = 1
let g:go_highlight_types = 1
let g:go_highlight_fields = 1
"let g:go_highlight_function_calls = 1
let g:go_highlight_function_parameters = 1
let g:go_highlight_functions = 1
let g:go_highlight_operators = 1
#### Vim version (first three lines from :version):
VIM - Vi IMproved 8.1 (2018 May 18, compiled Jun 07 2019 10:49:19)
Included patches: 1-875, 878, 884, 948, 1046, 1365
Modified by [email protected]
#### Go version (go version):
go version go1.12.6 linux/amd64
#### Go environment
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/adigun/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/adigun/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="/usr/bin/gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build889131433=/tmp/go-build -gno-record-gcc-switches"
Fixed -- i removed ~/.vim folder and restarted vim