You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
" vim-go {
let g:go_def_mode='gopls'
let g:go_info_mode='gopls'
let g:go_highlight_build_constraints = 1
let g:go_highlight_extra_types = 1
let g:go_highlight_fields = 1
let g:go_highlight_functions = 1
let g:go_highlight_methods = 1
let g:go_highlight_operators = 1
let g:go_highlight_structs = 1
let g:go_highlight_types = 1
let g:go_auto_sameids = 1
let g:go_auto_type_info = 1
let g:go_debug=["lsp"]
" }
let mapleader = "<Space>"
" nerdtree {
nnoremap f :NERDTreeFind
nnoremap n :NERDTreeToggle
" }
" Mappings {
set mouse=a
if !has('nvim') && exists('$TMUX') " Support resizing in tmux
set ttymouse=xterm2
endif
" }
What did you do? (required: The issue will be closed when not provided)
Related to golang/go#38100. This issue has been created incase vim-go is related.
With the following example project: https://play.golang.org/p/SrULcmi-Xbb in the following directory structure
(config.vim is provided separately below)
What did you expect to happen?
Baz to be highlighted, and the type for Baz to appear in the statusline
What happened instead?
vim-go causes gopls to panic.
Configuration (MUST fill this out):
vim-go version:
vimrc
you used to reproduce:vimrc
Vim version (first three lines from
:version
):NVIM v0.3.8
Build type: Release
LuaJIT 2.1.0-beta3
Go version (
go version
):go version go1.14 linux/amd64
Go environment
go env
Output:gopls version
gopls version
Output:vim-go configuration:
vim-go configuration
filetype detection configuration:
filetype detection
The text was updated successfully, but these errors were encountered: