Closed powerman closed 11 months ago
Can you run :messages
? Does it show the full message?
vim-go: initializing gopls
[deoplete] [yarp] [deoplete] job is dead. failed establishing channel for ['/usr/bin/python3', '-u',
'/home/powerman/.vim/bundle/nvim-yarp/pythonx/yarp.py', '/tmp/vuQHEFT/9', 2, 'deoplete']
[deoplete] VimEnter автокоманда для шаблона "*"..function deoplete#enable[9]..deoplete#initialize[1]
..deoplete#init#_initialize[15]..deoplete#init#_channel[24]..yarp#core#notify[1]..yarp#core#wait_cha
nnel, строка 13
vim-go: Invalid settings: gopls setting "tempModfile" is deprecated.
vim-go: Please comment on https://go.dev/issue/63537 if this impacts your workflow.
vim-go: Finished loading packages.
vim-go: Invalid settings: gopls setting "tempModfile" is deprecated.
vim-go: Please comment on https://go.dev/issue/63537 if this impacts your workflow.
As https://go.dev/issue/63537 indicates, if you need the tempMod
setting, then comment on that issue. If you don't need it, then remove let g:go_gopls_temp_modfile = 1
from your vimrc, and the message should no longer be presented to you.
Thanks, this helps.
What did you do? (required: The issue will be closed when not provided)
:GoUpdateBinaries
What did you expect to happen?
No user-visible changes.
What happened instead?
Opening any .go file (either new or existing) result in showing message in vim status line:
Downgrading vim-go to previous version didn't help, so it may be related to
:GoUpgradeBinaries
, but it's hard to know which binary was at which version to downgrade them too. Quick grep over vim-go code didn't found "impacts your workflow" substring, but "vim-go:" prefix means it's related to vim-go.My best guess is this may be a message from gopls triggered by something in my config.
Configuration (MUST fill this out):
vim-go version:
1401b576c6ac382529188d3d26cff866139f2f9a
vimrc
you used to reproduce:vimrc
```vim let g:go_metalinter_command = 'golangci-lint' let g:go_fmt_fail_silently = 1 let g:go_gopls_gofumpt = v:true let g:go_gopls_local = {} autocmd FileType go call s:setlocal() let g:go_doc_keywordprg_enabled = 0 let g:go_template_use_pkg = 1 let g:go_list_type = 'quickfix' let g:go_highlight_array_whitespace_error = 1 let g:go_highlight_chan_whitespace_error = 1 let g:go_highlight_extra_types = 1 let g:go_highlight_operators = 1 let g:go_highlight_functions = 1 let g:go_highlight_function_parameters = 0 let g:go_highlight_function_calls = 1 let g:go_highlight_types = 1 let g:go_highlight_fields = 0 let g:go_highlight_build_constraints = 1 let g:go_highlight_generate_tags = 1 let g:go_highlight_string_spellcheck = 1 let g:go_highlight_format_strings = 1 let g:go_highlight_variable_declarations = 0 let g:go_highlight_variable_assignments = 0 let g:go_build_tags = 'integration' let g:go_gopls_matcher = 'caseSensitive' let g:go_gopls_deep_completion = 0 let g:go_gopls_temp_modfile = 1 let g:go_gopls_use_placeholders = 0 autocmd FileType go nmapVim version (first three lines from
:version
):VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct 26 2023 15:49:11) Included patches: 1-1627 Modified by Gentoo-9.0.1627
Go version (
go version
):go version go1.21.3 linux/amd64
Go environment
go env
Output:gopls version
gopls version
Output: