ray-x
a86e9d2a29
Feature: add go mock / mockgen
2022-07-06 08:28:29 +10:00
ray-x
a2d0bbee53
bugfix #153 , update doc
2022-07-03 09:11:26 +10:00
ray-x
84ac01df53
Feature: show keybindings for debug session
2022-07-01 20:30:43 +10:00
ray-x
981adf9b39
Features:
...
1) count the overall test coverage per-file and per-project
2) add gotestsum as a test runner option
3) handle windows GOPATH and
4) minor fix: stop GoFmt if no formatter is available
2022-07-01 19:15:31 +10:00
ray-x
eae9af9c1d
recommit fix for #145 due to merge failure
2022-06-30 12:41:20 +10:00
ray-x
1fd353947b
issue #145 GoDebug failure
2022-06-30 11:55:00 +10:00
Nikola Milovic
d402d9cbf9
fix(docs): fix command typo and duplicate ( #144 )
...
* fix(docs): remove duplicate command from debug table
In the Debug section Command table `GoBreakToggle` was mentioned twice, I just removed the duplicate
* fix(docs): fix the BreakCondition command and formatting on some markdown tables
* indentation
Co-authored-by: rayx <rayx.cn@gmail.com>
2022-06-30 08:51:42 +10:00
rayx
5504f55b4f
[Feature]Package info side panel ( #140 )
...
New feature.
It shows all public symbols inside a go package with a side panel.
Also refer https://github.com/golang/go/issues/37237 for some workaround
* add side_panel for go package
* Add command GoPkgInfo
* multi lines hint
* allow refresh when buffer write happed
* remove node of receiver
* update treesitter queries for better panel display
* variadic args
2022-06-27 08:12:49 +10:00
ray-x
d3d278d58a
doc update
2022-06-22 13:53:26 +10:00
ray-x
755e5816f0
guru support
2022-06-18 15:43:07 +10:00
ray-x
44d6a9d8f3
add list_imports support
2022-06-16 14:10:49 +10:00
ray-x
040c7bd110
Update document
...
Smart build tags detection
2022-06-15 14:11:10 +10:00
ray-x
b3c6bde824
flags to load coverage file
2022-06-07 20:10:49 +10:00
Hiroyuki Tanaka
b22f8c7760
Fix typo in README.md ( #135 )
2022-06-04 01:26:43 +10:00
ray-x
ff94aa139d
add notes
2022-06-01 21:29:34 +10:00
ray-x
ad84a0806c
update GoTest adding more flags
2022-05-31 00:04:52 +10:00
ray-x
fc928a40e9
show cheatsheet in floating window
2022-05-28 20:54:45 +10:00
张海林
6c51c0a909
doc: clarify test_runner option ( #129 )
...
* doc: clarify test_runner option
* Update README.md
* Update go.txt
* Update go.lua
Co-authored-by: rayx <rayx.cn@gmail.com>
2022-05-27 12:39:11 +10:00
ray-x
eb4d380807
allow format all buffers with goimports
2022-05-26 15:07:14 +10:00
ray-x
051e8b2afa
cheatsheet(cht.sh) supports in go.nvim
2022-05-25 14:36:34 +10:00
ray-x
52ccb2e690
GoImpl updates, allow no arguments and let treesitter do everything for you
2022-05-19 14:12:14 +10:00
ray-x
e3504bc50f
allow gorun in float terminal
2022-05-17 11:34:35 +10:00
Alexandre Desjardins
f41af88f2e
fix nvim-lsp-installer path moved to core module ( #126 )
2022-05-16 08:20:51 +10:00
ray-x
ed8a2484ba
merge master
2022-05-15 22:25:50 +10:00
ray-x
80e94444bb
merge master
2022-05-15 21:46:44 +10:00
ray-x
669ad39639
update launch.json and readme.md for the new commands
2022-05-15 21:43:59 +10:00
ray-x
f187f10678
Update GoModxxx cmds
2022-05-15 14:09:07 +10:00
ray-x
de1306a986
goenv and load breakpoints
2022-05-14 21:24:55 +10:00
ray-x
0dd08fddc5
add gonvim project file parser
2022-05-14 21:24:55 +10:00
Marco Mayer
eba7daeb16
fix gotests template parameters, better names(?), small formatting fixes, update README ( #125 )
2022-05-14 20:52:12 +10:00
ray-x
7c434918be
add gonvim project file parser
2022-05-13 19:27:02 +10:00
ray-x
86d7b26846
doc update
2022-05-10 15:20:16 +10:00
Aleš Brelih
6d2062c3d7
feat: verbose tests toggle ( #123 )
...
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
2022-05-08 20:44:13 +10:00
Mochammad Hanif R
5c4fcc49ac
Fix tags when using tag_transform
( #121 )
...
Also clarify `tag_transform` documentation in README for more clarity
2022-05-06 17:42:19 +10:00
ray-x
54df0e9994
fixplurals
2022-05-04 00:14:55 +10:00
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>
2022-05-02 08:47:45 +10:00
ray-x
791dc89183
update go pipeline to 1.18.1
2022-04-30 12:47:41 +10:00
ray-x
7ee9bbd870
Doc update
2022-04-20 21:24:21 +10:00
ray-x
df512d695f
issue #94 GoImport autocomplete
2022-04-18 22:33:02 +10:00
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>
2022-04-16 22:09:15 +10:00
ray-x
ed3dfb85b2
Breaking changes for GoDebug, deprecate old argument and using linux style command line arguments
2022-03-07 17:09:42 +11:00
ray-x
4c66365aa2
Add GoModeTidy and GoModeVendor
2022-02-22 09:46:59 +11:00
ray-x
d8638ab9c8
issue#88 cmp setup. set it as default
2022-02-17 13:32:58 +11:00
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)
2022-02-17 06:57:54 +11:00
ray-x
3e905d07ac
health check for treesitter-go parser issue#86
2022-02-16 22:11:36 +11:00
ray-x
c622c27bf8
doc updates
2022-02-16 21:25:21 +11:00
ray-x
c9359bb14d
Allow lsp diagnostic setup passed from outside
2022-02-15 20:30:42 +11:00
ray-x
f5c029e5fa
Update GoGet. if cursor current line is a valid pkg url, will auto fill it to go get argument
2022-02-09 15:33:19 +11:00
ray-x
edbd796ded
Add GoStop command to stop the background task started with GoRun
2022-02-02 17:37:07 +11:00
ray-x
2b059afc54
GoGet
2022-02-02 15:49:54 +11:00
ray-x
cd395e96fb
setup option to disable gopls doc format
2022-01-17 15:29:38 +11:00
ray-x
e5ebbd9460
Add GoTest -c option, compile test package issue#76
2022-01-16 13:08:16 +11:00
ray-x
e9e42ab175
toggle gc and codelens
2022-01-15 22:18:19 +11:00
ray-x
daeaa15e6a
doc and launch.json update
2022-01-15 21:06:07 +11:00
ray-x
2869c5b8fc
Add support for vscode launch.json. Allow launch debugger from config in .vscode/launch.json
2022-01-15 20:59:03 +11:00
Craig Rodrigues
817eb44890
Put options in same order in README.md, go.lua ( #74 )
2022-01-12 19:12:29 +11:00
ray-x
d2f5f9c683
Merge master
2022-01-12 16:02:40 +11:00
ray-x
e232ed38e6
doc update for test_runner
2022-01-12 15:57:55 +11:00
ray-x
0493df8b44
go 1.18beta
2022-01-12 15:57:30 +11:00
Craig Rodrigues
60e0659d50
Set dap_debug_keymap to true by default ( #73 )
2022-01-12 09:35:42 +11:00
Craig Rodrigues
a54f5d452f
Put options in same order in README.md, go.txt, go.lua ( #72 )
2022-01-12 08:57:21 +11:00
ray-x
2fdcb8d60b
doc updates
2022-01-11 22:37:33 +11:00
Craig Rodrigues
80441fc003
Clarify gofmt on save ( #70 )
2022-01-11 08:44:14 +11:00
ray-x
1ccc7d7e96
add notes for go1.18
2022-01-10 21:32:13 +11:00
ray-x
310339cbc5
floatterm width ceiling
2022-01-10 15:47:21 +11:00
Lionel Martin
01c65f5841
Fix sample vimrc comment ( #67 )
2022-01-06 09:55:53 +11:00
ray-x
437748a09f
update impl, CLI complete
2021-12-22 15:01:15 +11:00
Craig Rodrigues
eebe136396
Make lsp_on_attach nil by default ( #62 )
...
Clarify lsp_on_attach in the docs.
2021-12-22 10:51:20 +11:00
ray-x
f53e130370
lsp_on_attach default to false
2021-12-21 22:04:45 +11:00
Craig Rodrigues
f9398a6c2b
Clarify docs for lsp_cfg and lsp_attach ( #61 )
2021-12-21 21:55:10 +11:00
Craig Rodrigues
c063817d05
Clarify wording in Installation section ( #59 )
2021-12-21 09:21:44 +11:00
ray-x
6d6b3afc3b
add gotexttmpl and gohtmltmpl support for gopls
2021-12-18 15:22:27 +11:00
ray-x
db819954d3
Add GoCodeAction, GUI with guihua.lua and vim.ui.select()
2021-12-17 09:59:47 +11:00
ray-x
8669783860
doc update for nvim-lsp-installer
2021-12-16 10:37:02 +11:00
ray-x
8864d0d61f
update README.md debug session
2021-12-16 09:41:37 +11:00
ray-x
64460e4f88
Add GoVet, update errorformat for issue #55
2021-12-15 19:02:22 +11:00
ray-x
6574dd2e6b
add textobject default setup, doc updates
2021-12-11 14:44:15 +11:00
Ian C
41a5a3e08e
fix typo and broken link ( #52 )
...
I fixed the link to redirect toward the provided config example in the README as opposed to a file within the repository.
2021-12-10 10:06:57 +11:00
Craig Rodrigues
11254fc863
Fix wording for GoInstallBinaries ( #51 )
2021-12-07 12:27:40 +11:00
ray-x
d7958e142c
update README
2021-12-07 12:05:35 +11:00
ray-x
2781e7855f
update readme.md
2021-12-07 11:52:31 +11:00
Craig Rodrigues
70d91c5443
Fix typo ( #50 )
...
Add link to rcarriga/nvim-dap-ui
2021-12-07 11:52:24 +11:00
ray-x
7d39be9431
add gobinaryinstall/update issue #49
2021-12-06 21:32:23 +11:00
ray-x
3329238deb
code action with telescope, dap debug restart
2021-11-30 07:19:45 +11:00
Aleš Brelih
cfeab3d398
fix: build tags was missing space ( #46 )
...
* fix: build tags was missing space
* if run in floaterm, '\ ' may cause error
Thanks for the PR. I did some update please check if it works
Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
Co-authored-by: rayx <rayx.cn@gmail.com>
2021-11-29 23:09:30 +11:00
ray-x
77c273f35b
Update README
2021-11-24 20:42:44 +11:00
ray-x
1b11f52b08
updates for dap.ui
2021-11-24 10:13:40 +11:00
Alex Su
1b77404abe
Fix README example ( #45 )
...
* Fix README example
* Update README.md
fillstruct take string as an argument, the line below should be move above.
Co-authored-by: rayx <rayx.cn@gmail.com>
2021-11-22 20:11:56 +11:00
ray-x
2b284a47d9
Update Readme
2021-11-13 14:30:40 +11:00
ray-x
37a4cfb1ad
issue #35 config break sign
2021-10-23 20:26:11 +11:00
ray-x
569e8e4320
Update reftool and fillstruct
2021-09-30 22:23:36 +10:00
ray-x
7feb745e6c
remove gofumport from go.nvim #18
2021-09-25 12:44:52 +10:00
ray-x
3fc75ca46a
refact fillstruct and codeaction add GoFixPlurals
2021-09-20 19:05:04 +10:00
ray-x
8c3abfb9f2
go doc command with floating preview
2021-09-18 21:14:02 +10:00
ray-x
8dd865be82
LSP api changes https://github.com/neovim/neovim/pull/15504
2021-09-08 16:49:04 +10:00
ray-x
c984ce7757
update gotest it will output to buffer
2021-09-03 12:13:15 +10:00
ray-x
e17b25eee7
#26 add goimports -local support
2021-09-01 11:22:05 +10:00
ray-x
200dcd22e4
Allow test nearest function
2021-08-31 21:19:14 +10:00
ray-x
b96cdefea3
Add go coverage
2021-08-26 01:42:31 +10:00
ray-x
989be3f213
update lspconfig setup; add sample vimrc, add codelens config
2021-08-23 12:24:48 +10:00
ray-x
ef1f2bb7cc
Feature: Show code lens and add support for run code len action
2021-08-21 20:52:23 +10:00
Ryder
49c0a4280e
fix: max_line_line typo ( #21 )
2021-08-14 10:27:55 +10:00
ray-x
7872cc3ea0
update document regarding go fmt
2021-07-26 20:17:50 +10:00
ray-x
018de85e7f
add gopls cmd path
2021-07-26 10:35:58 +10:00
ray-x
0d0a54be7e
Update GoRun command doc
2021-07-18 12:50:36 +10:00
ray-x
af37cb81b8
update Goiferr and doc
2021-07-15 19:18:04 +10:00
ray-x
b566782f4a
Update Impl
2021-07-15 01:35:38 +10:00
ray-x
a65af41408
[Breaking] Rename commands(GoFillStruct GoFillSwitch, Goiferr)
2021-07-14 23:58:31 +10:00
ray-x
034ea57ffe
Add alternative command to swtich between go and test file
2021-07-14 08:39:27 +10:00
ray-x
3619f328b8
update sample vimrc
2021-07-12 14:27:55 +10:00
ray-x
87fcb47470
update lsp setup and document
2021-07-12 14:25:07 +10:00
ray-x
8bbabcbbbb
verify both GoDebug test
and GoDebug
2021-07-10 23:53:33 +10:00
ray-x
b6c0f79ec1
update command name to avoid conflict
2021-07-10 21:10:46 +10:00
ray-x
9d170d4954
Dap support
2021-07-10 21:04:24 +10:00
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
2021-07-04 12:01:28 +10:00
ray-x
9559a8934f
fixed outdated links and add trouble, vim-tests
2021-05-08 09:36:11 +10:00
ray-x
0a86f87cff
add iferr and fillstruct
2021-04-23 16:31:00 +10:00
ray-x
efa3320014
gorename update
2021-04-21 21:24:07 +10:00
ray-x
55a4f4075b
update doc
2021-04-19 16:16:25 +10:00
ray-x
abbc421aee
update treesitter syntax
2021-04-19 16:09:39 +10:00
ray-x
3b11dbb98c
adjust gofmt goline setup
2021-04-14 14:45:48 +10:00
ray-x
f6561e7807
update treesitter syntax
2021-03-12 13:54:08 +11:00
ray-x
eda5ebc0b1
readme
2021-03-11 00:26:55 +11:00
ray-x
f0199347f5
README.md update
2021-03-11 00:21:01 +11:00
ray-x
1e190d6a0e
init commit
2021-03-10 23:15:06 +11:00