Comments (4)
-
You can use
GoGet
command provided bygo.nvim
. If you check the code ofgoget.lua
you will find aftergo get
, the plugin will callrequire('go.lsp').watchFileChanged('your_workspace/go.mod')
-
You can call
LspRestart
provided by nvim to restart gopls
from go.nvim.
Thank you for your response! Just in case, is there a way to do .watchFileChanged('my_workspace/go.mod')
by default? (e.g. via some config)
from go.nvim.
The plugin does not support config option as go get
was run outside neovim. You can write a simple function to check if go.mod is updated outside nvim and run watchFileChanged()
from go.nvim.
All right. Thank you again!
from go.nvim.
Related Issues (20)
- How to get highlights and injections to work with go-templates
- New? enable: expected boolean, got number HOT 2
- Provide a way to run alternate command for eg. go and go test HOT 2
- Error from InsertLeave Autocmd, codelens not supported
- 'Buffer file://<filepath> newer than edits.' when importing things on neovim nightly (0.11.0) HOT 2
- GoRun try install package run HOT 8
- How to avoid conflict with navigator HOT 3
- help finding autocomplete bug: extmark/helper text persists. HOT 3
- Bug: GoRename does not work consistently HOT 8
- Doc: contradicting behavior for `:GoBuild` command
- Bug: `:GoBuild` tab completion does not work in module-aware projects HOT 1
- How to add -gcflags="all=-N -l" in GoTest or GoTestFunc HOT 2
- Docker delve support
- feature request: hide "obvious" inlay hints
- bug?: duplicate lint diagnostics
- question: how to disable golangci-lint linters? HOT 4
- Feature Request: Support for neotest HOT 1
- Force Go Binary Usage
- I want to be able to set camelCase on by default.
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 go.nvim.