https://github.com/wwcd/nvim-go
https://github.com/wwcd/nvim-go
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wwcd/nvim-go
- Owner: wwcd
- Created: 2022-04-09T03:00:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-10T07:40:35.000Z (almost 3 years ago)
- Last Synced: 2025-03-09T13:08:52.927Z (about 1 year ago)
- Language: Lua
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nvim-go
requires at least Neovim 0.6.0.
## Features
* :GoAddTag
* :GoBuild
* :GoFillStruct
* :GoIferr
* :GoImports
* :GoInstall
* :GoLint
* :GoModTidy
* :GoRemoveTag
* :GoRun
* :GoTest
* :GoTestFunc
## Install
### packer.nvim
```lua
require('nvim-go').setup({})
autocmd('nvim-go', {
'FileType go nmap b GoBuild',
'FileType go nmap r GoRun',
'FileType go nmap GoIferr',
}, true)
```