Open pendar747 opened 2 days ago
Have you rebuilt gopls
with :GoUpdateBinaries gopls
since you updated your system's version of Go to 1.23?
Have you rebuilt gopls with :GoUpdateBinaries gopls since you updated your system's version of Go to 1.23?
Yea I did that a few times and tried it with both deleting the go cache (go clean -cache
and go clean -modcache
) but didn't work.
I ran into a similar issue when I upgrade one project from 1.20 to 1.21. I'm guessing it might have something to do with the fact that I have some projects using go 1.22 and one that is using 1.23
I tried installing the project dependancies into a separate GOPATH for 1.23 but that didn't work either. For now I'm just changing the go version to 1.22 in go.mod without committing it
Can you duplicate this on your system with a small project? I'd love to see a clear duplication path. Also, can you try duplicating this without all the other plugins you have configured. i.e. Duplicating this with a small module and with only vim-go being the only plugin in your vimrc will allow us to figure out what's going on as fast as possible.
What did you do? (required: The issue will be closed when not provided)
What did you expect to happen?
See error highlighting or completion
What happened instead?
No action
Configuration (MUST fill this out):
vim-go version: ac1fb9611de435d80a6badcf8482cb1428449b10
vimrc
you used to reproduce:vimrc
```vim call plug#begin() " This is where we will add plugins to install Plug 'preservim/nerdtree' Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'tpope/vim-fugitive' Plug 'ctrlpvim/ctrlp.vim' Plug 'preservim/nerdcommenter' Plug 'HerringtonDarkholme/yats.vim' Plug 'dkprice/vim-easygrep' Plug 'jparise/vim-graphql' Plug 'prettier/vim-prettier' Plug 'tpope/vim-rhubarb' Plug 'vim-test/vim-test' Plug 'tpope/vim-dispatch' Plug 'airblade/vim-gitgutter' Plug 'leafgarland/typescript-vim' Plug 'ruanyl/vim-gh-line' " Everforest theme Plug 'sainnhe/everforest' Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } Plug 'sebdah/vim-delve' Plug 'idanarye/vim-merginal' Plug 'tpope/vim-dadbod' Plug 'tpope/vim-dotenv' Plug 'hashivim/vim-terraform' Plug 'itmammoth/doorboy.vim' Plug 'github/copilot.vim' Plug 'chrisbra/csv.vim' Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && npm install' } Plug 'vim-test/vim-test' Plug 'kburdett/vim-nuuid' " These plugins only work with neovim if has('nvim') Plug 'nvim-tree/nvim-web-devicons' Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.8' } Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} Plug 'sindrets/diffview.nvim' Plug 'rmagatti/auto-session' Plug 'kevinhwang91/nvim-bqf' Plug 'pwntester/octo.nvim' end """ Set the coc-nvim settings location let g:coc_config_home = expand('~/.vim/') call plug#end() """"" COC-NVIM config let g:coc_global_extensions = ['coc-json', 'coc-snippets', 'coc-emmet', 'coc-tsserver', 'coc-go', 'coc-css', 'coc-eslint', 'coc-pyright', 'coc-swagger', 'coc-spell-checker'] ```Vim version (first three lines from
:version
):Go version (
go version
):1.23
Go environment
go env
Output:gopls version
gopls version
Output:__GOLSP_LOG__