Comments (4)
This would be a problem for https://github.com/rogpeppe/godef then, because the error is actually coming from godef
.
from vim-go.
This would be a problem for https://github.com/rogpeppe/godef then, because the error is actually coming from
godef
.
ok,thanks for your help; but it looks like dosen't been maintained anymore
from vim-go.
Yes, godef is old and the community has mostly moved on from it. I'd recommend changing your g:go_def_mode
setting to use gopls instead (see :help g:go_def_mode
). Alternatively, you could fix the problem in godef and install it locally.
from vim-go.
@BraveSoilder I just want to make sure you know that you can use gopls
instead of godef
for jumping to definitions. Since 'gopls'
is the default value for g:go_def_mode
, you can either remove let g:go_def_mode = 'godef'
from your .vimrc or you can change it to let g:go_def_mode = 'gopls'
to start using gopls
instead. You'll find that gopls
is faster than godef
.
from vim-go.
Related Issues (20)
- Execution: GoFmt changes the Chinese at the end to <e4> HOT 2
- Startup time ~4 s on nvim, macos, even with empty init.lua HOT 1
- c-x c-o error HOT 8
- Running :GoDef or any other commands that require gopls fails without error HOT 9
- vim has defined a set of key positions that span the ages
- Thank you for sharing
- Call: GoReferrers error
- GoFillStruct with proto pb.go HOT 1
- Import string is not highlighted if some comment follows
- Why is vim-go removing semicolons? HOT 2
- vim-go: failed to sync breakpoints HOT 2
- How to setup gopath manually inside `.vimrc` HOT 2
- godef crashes when looking up a tag HOT 7
- when save the go file, the four space is converted to tab,why?,how to modify it? HOT 1
- Errors while installing v1.28 in NVIM v0.9.5 HOT 4
- set GOTOOLCHAIN=go1.22.x when you are using Go>=1.22 HOT 2
- Feature Request: Completion with TinyGo machine package HOT 1
- vim-go: could not determine appropriate working directory for gopls HOT 5
- :GoDescribe is unavailable for me - is it removed? HOT 1
- Syntax checking/diagnostics doesn't seems to work when using go version with format 1.X.X in go.mod file HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-go.