ray-x
051e8b2afa
cheatsheet(cht.sh) supports in go.nvim
2 years ago
ray-x
52ccb2e690
GoImpl updates, allow no arguments and let treesitter do everything for you
2 years ago
ray-x
257218611e
merge conflict
2 years ago
ray-x
ed8a2484ba
merge master
2 years ago
ray-x
80e94444bb
merge master
2 years ago
ray-x
669ad39639
update launch.json and readme.md for the new commands
2 years ago
ray-x
f187f10678
Update GoModxxx cmds
2 years ago
ray-x
de1306a986
goenv and load breakpoints
2 years ago
ray-x
f3e1da9968
save and load breaks
2 years ago
ray-x
0dd08fddc5
add gonvim project file parser
2 years ago
ray-x
0c8ffc2b86
add go boilerplate
2 years ago
Marco Mayer
eba7daeb16
fix gotests template parameters, better names(?), small formatting fixes, update README ( #125 )
2 years ago
ray-x
0faaf7bd0a
save and load breaks
2 years ago
ray-x
7c434918be
add gonvim project file parser
2 years ago
ray-x
dead9e2c70
add go boilerplate
2 years ago
ray-x
0916cb3da1
bugfix for releative path for `GoTest -c`
2 years ago
Aleš Brelih
6d2062c3d7
feat: verbose tests toggle ( #123 )
...
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
2 years ago
ray-x
54df0e9994
fixplurals
2 years ago
Aleš Brelih
ab864c4c17
feat: added command to close floating term ( #119 )
...
* feat: added command to close floating term
* feat: automatically close previous float term
* Update go.lua
remove auto complete
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
Co-authored-by: rayx <rayx.cn@gmail.com>
3 years ago
ray-x
7ca5ad805b
allow lsp_keymaps to be a function
3 years ago
rayx
32f103258b
Gotest refactor ( #102 )
...
* issue #82 allow close terminal in current buffer
* update go test arguments
* auto complete args updates based on @Craig Rodgigues feedbacks
* update test arguments
* Return cursor to previous cursor position (#101 )
`GoGet` and `GoMod` opens up a new split and move the cursor there.
If the cursor isn't moved back to the *.go buffer, `utils.restart`
will try to spawn gopls in the terminal split, which results in
gopls failed to restart properly.
* fix double close when end dap session
* add relFileDir in launch.json
* update sample go app
* fix: remove cover file (#107 )
* fix: remove cover file
* fix: coverage notify message
* github action setup for go 1.18
* issue #109 config dap marker
* setup pipeline with go install
* add icons setup options in doc issue #35 issue #109
Co-authored-by: Mochammad Hanif R <etrnal70@gmail.com>
Co-authored-by: Nicolas Barbosa <ndevbarbosa@gmail.com>
3 years ago
ray-x
4c66365aa2
Add GoModeTidy and GoModeVendor
3 years ago
Darkclainer
0ca3de9f84
Fix gotests integration ( #87 )
...
GoAddTest, GoAddExpTest and GoAddAllTest affected.
Previously they weren't work with templates (go_nvim_test_template
variable) because file paths should be last argument to gotests.
Also removed different handling of stdout/stderr because seems that
gotests doesn't use stderr or produce any exit code except zero (that
probably OK, but not useful for go.nvim).
Also fixed README.md: description of GoAddTest, GoAddExpTest and
GoAddAllTest and setup example (go.nvim doesn't default test_template to
testify)
3 years ago
ray-x
c622c27bf8
doc updates
3 years ago
ray-x
c9359bb14d
Allow lsp diagnostic setup passed from outside
3 years ago
ray-x
edbd796ded
Add GoStop command to stop the background task started with GoRun
3 years ago
ray-x
2b059afc54
GoGet
3 years ago
ray-x
a853613467
use `-1` for random port
3 years ago
ray-x
ee3c36e25d
allow config debug port
3 years ago
ray-x
cd395e96fb
setup option to disable gopls doc format
3 years ago
ray-x
2869c5b8fc
Add support for vscode launch.json. Allow launch debugger from config in .vscode/launch.json
3 years ago
Craig Rodrigues
817eb44890
Put options in same order in README.md, go.lua ( #74 )
3 years ago
ray-x
d2f5f9c683
Merge master
3 years ago
ray-x
37b9a66dc2
default debug/dlv keymap to true
3 years ago
ray-x
e232ed38e6
doc update for test_runner
3 years ago
ray-x
0493df8b44
go 1.18beta
3 years ago
Craig Rodrigues
60e0659d50
Set dap_debug_keymap to true by default ( #73 )
3 years ago
Craig Rodrigues
a54f5d452f
Put options in same order in README.md, go.txt, go.lua ( #72 )
3 years ago
ray-x
6a228e05cb
allow doc argument to be nil
3 years ago
ray-x
2a096a93c1
Default GoDoc to lsp hover if no arguments are provided
3 years ago
ray-x
437748a09f
update impl, CLI complete
3 years ago
Craig Rodrigues
483b56f4a2
Replace print() with vim.notify() ( #64 )
3 years ago
Craig Rodrigues
3a35bff71e
Add warning if lsp_cfg is false, but lsp_on_attach is not nil ( #63 )
3 years ago
Craig Rodrigues
eebe136396
Make lsp_on_attach nil by default ( #62 )
...
Clarify lsp_on_attach in the docs.
3 years ago
ray-x
f53e130370
lsp_on_attach default to false
3 years ago
ray-x
db819954d3
Add GoCodeAction, GUI with guihua.lua and vim.ui.select()
3 years ago
ray-x
84c5ce26f3
GoVet command
3 years ago
ray-x
6574dd2e6b
add textobject default setup, doc updates
3 years ago
ray-x
8712f31898
golangci-lint quickfix
3 years ago
ray-x
7d39be9431
add gobinaryinstall/update issue #49
3 years ago
ray-x
3329238deb
code action with telescope, dap debug restart
3 years ago
ray-x
4611c34548
updates for dapui
3 years ago
ray-x
1b11f52b08
updates for dap.ui
3 years ago
ray-x
ec91d9915f
Add command autocomplete
3 years ago
Hank Donnay
51f4d41363
fix syntax error in default GoTest command ( #41 )
3 years ago
ray-x
165714cfea
allow godoc focusable
3 years ago
Aleš Brelih
d9f44a9320
feat: default build tags ( #38 )
...
* feat: default build tags
Added option to specify default build tags for test and debugger.
* Update dap.lua
check if _GO_NVIM_CFG.build_tags ~= "" then
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
Co-authored-by: rayx <rayx.cn@gmail.com>
3 years ago
ray-x
37a4cfb1ad
issue #35 config break sign
3 years ago
ray-x
569e8e4320
Update reftool and fillstruct
3 years ago
ray-x
7feb745e6c
remove gofumport from go.nvim #18
3 years ago
ray-x
3fc75ca46a
refact fillstruct and codeaction add GoFixPlurals
3 years ago
ray-x
8c3abfb9f2
go doc command with floating preview
3 years ago
ray-x
c984ce7757
update gotest it will output to buffer
3 years ago
ray-x
e17b25eee7
#26 add goimports -local support
3 years ago
ray-x
200dcd22e4
Allow test nearest function
3 years ago
ray-x
b96cdefea3
Add go coverage
3 years ago
ray-x
c28fa04029
merge github action/workflow
3 years ago
ray-x
989be3f213
update lspconfig setup; add sample vimrc, add codelens config
3 years ago
ray-x
ef1f2bb7cc
Feature: Show code lens and add support for run code len action
3 years ago
ray-x
7694511159
Merge and update for gopls & gopls import code action
3 years ago
Ryder
ab0b8c5b2c
fix: deprecated dap.stop ( #22 )
3 years ago
Ryder
49c0a4280e
fix: max_line_line typo ( #21 )
3 years ago
ray-x
018de85e7f
add gopls cmd path
3 years ago
ray-x
e7a7e95c85
Bugfix issue #15 GoRun
3 years ago
ray-x
af37cb81b8
update Goiferr and doc
3 years ago
ray-x
b566782f4a
Update Impl
3 years ago
ray-x
b499269a9d
Fix: unmap key, command
3 years ago
ray-x
a65af41408
[Breaking] Rename commands(GoFillStruct GoFillSwitch, Goiferr)
3 years ago
ray-x
034ea57ffe
Add alternative command to swtich between go and test file
3 years ago
ray-x
87fcb47470
update lsp setup and document
3 years ago
ray-x
786a9c67ad
rename lsp format to gopls format
3 years ago
ray-x
d8fc9cbe1e
rename lsp_enable to lsp_cfg
3 years ago
ray-x
a1dc56973d
Add options allows goimport and gofmt with lsp. Add options for go.nvim gopls config be loaded
3 years ago
ray-x
b6c0f79ec1
update command name to avoid conflict
3 years ago
ray-x
9d170d4954
Dap support
3 years ago
ray-x
1bdf18bfc2
Add log to file. Fix gotest_fun
3 years ago
David Brouwer
9485e37cc3
Increase reliability ( #4 )
...
* Add check to see if commands already exist
* Migrate to go install, as go get will be depricated
* Fix bug in comparison function
* Add installation instructions for $PATH
* remove old stuff
* remove backtick
* complete install
* remove unused function
3 years ago
ray-x
6ac8755142
merge remote changes
3 years ago
ray-x
f9e75eda64
Update GoAddTests and allow vim command override
3 years ago
Viktor Kojouharov
95fe379935
Fix the Gfswitch command to call the right function
3 years ago
ray-x
0a86f87cff
add iferr and fillstruct
4 years ago
ray-x
7b285a3600
Add gorename
4 years ago
ray-x
3b11dbb98c
adjust gofmt goline setup
4 years ago
ray-x
f6561e7807
update treesitter syntax
4 years ago
ray-x
7d0d1196d7
GoTest
4 years ago
ray-x
cede232c6b
GoBuild quickfix
4 years ago
ray-x
f4b359a2c7
fix nil
4 years ago
ray-x
1e190d6a0e
init commit
4 years ago