Commit Graph

189 Commits (nvim_0.8)

Author SHA1 Message Date
ray-x 791dc89183 update go pipeline to 1.18.1 2 years ago
ray-x 7ee9bbd870 Doc update 2 years ago
ray-x df512d695f issue #94 GoImport autocomplete 2 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>
2 years ago
ray-x ed3dfb85b2 Breaking changes for GoDebug, deprecate old argument and using linux style command line arguments 2 years ago
ray-x 4c66365aa2 Add GoModeTidy and GoModeVendor 2 years ago
ray-x d8638ab9c8 issue#88 cmp setup. set it as default 2 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)
2 years ago
ray-x 3e905d07ac health check for treesitter-go parser issue#86 2 years ago
ray-x c622c27bf8 doc updates 2 years ago
ray-x c9359bb14d Allow lsp diagnostic setup passed from outside 2 years ago
ray-x f5c029e5fa Update GoGet. if cursor current line is a valid pkg url, will auto fill it to go get argument 2 years ago
ray-x edbd796ded Add GoStop command to stop the background task started with GoRun 2 years ago
ray-x 2b059afc54 GoGet 2 years ago
ray-x cd395e96fb setup option to disable gopls doc format 2 years ago
ray-x e5ebbd9460 Add GoTest -c option, compile test package issue#76 2 years ago
ray-x e9e42ab175 toggle gc and codelens 2 years ago
ray-x daeaa15e6a doc and launch.json update 2 years ago
ray-x 2869c5b8fc Add support for vscode launch.json. Allow launch debugger from config in .vscode/launch.json 2 years ago
Craig Rodrigues 817eb44890
Put options in same order in README.md, go.lua (#74) 2 years ago
ray-x d2f5f9c683 Merge master 2 years ago
ray-x e232ed38e6 doc update for test_runner 2 years ago
ray-x 0493df8b44 go 1.18beta 2 years ago
Craig Rodrigues 60e0659d50
Set dap_debug_keymap to true by default (#73) 2 years ago
Craig Rodrigues a54f5d452f
Put options in same order in README.md, go.txt, go.lua (#72) 2 years ago
ray-x 2fdcb8d60b doc updates 2 years ago
Craig Rodrigues 80441fc003
Clarify gofmt on save (#70) 2 years ago
ray-x 1ccc7d7e96 add notes for go1.18 2 years ago
ray-x 310339cbc5 floatterm width ceiling 2 years ago
Lionel Martin 01c65f5841
Fix sample vimrc comment (#67) 3 years ago
ray-x 437748a09f update impl, CLI complete 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
Craig Rodrigues f9398a6c2b
Clarify docs for lsp_cfg and lsp_attach (#61) 3 years ago
Craig Rodrigues c063817d05
Clarify wording in Installation section (#59) 3 years ago
ray-x 6d6b3afc3b add gotexttmpl and gohtmltmpl support for gopls 3 years ago
ray-x db819954d3 Add GoCodeAction, GUI with guihua.lua and vim.ui.select() 3 years ago
ray-x 8669783860 doc update for nvim-lsp-installer 3 years ago
ray-x 8864d0d61f update README.md debug session 3 years ago
ray-x 64460e4f88 Add GoVet, update errorformat for issue #55 3 years ago
ray-x 6574dd2e6b add textobject default setup, doc updates 3 years ago
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.
3 years ago
Craig Rodrigues 11254fc863
Fix wording for GoInstallBinaries (#51) 3 years ago
ray-x d7958e142c update README 3 years ago
ray-x 2781e7855f update readme.md 3 years ago
Craig Rodrigues 70d91c5443
Fix typo (#50)
Add link to rcarriga/nvim-dap-ui
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
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>
3 years ago
ray-x 77c273f35b Update README 3 years ago
ray-x 1b11f52b08 updates for dap.ui 3 years ago
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>
3 years ago
ray-x 2b284a47d9 Update Readme 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 8dd865be82 LSP api changes https://github.com/neovim/neovim/pull/15504 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 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
Ryder 49c0a4280e
fix: max_line_line typo (#21) 3 years ago
ray-x 7872cc3ea0 update document regarding go fmt 3 years ago
ray-x 018de85e7f add gopls cmd path 3 years ago
ray-x 0d0a54be7e Update GoRun command doc 3 years ago
ray-x af37cb81b8 update Goiferr and doc 3 years ago
ray-x b566782f4a Update Impl 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 3619f328b8 update sample vimrc 3 years ago
ray-x 87fcb47470 update lsp setup and document 3 years ago
ray-x 8bbabcbbbb verify both `GoDebug test` and `GoDebug` 3 years ago
ray-x b6c0f79ec1 update command name to avoid conflict 3 years ago
ray-x 9d170d4954 Dap support 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 9559a8934f fixed outdated links and add trouble, vim-tests 3 years ago
ray-x 0a86f87cff add iferr and fillstruct 3 years ago
ray-x efa3320014 gorename update 3 years ago
ray-x 55a4f4075b update doc 3 years ago
ray-x abbc421aee update treesitter syntax 3 years ago
ray-x 3b11dbb98c adjust gofmt goline setup 3 years ago
ray-x f6561e7807 update treesitter syntax 3 years ago
ray-x eda5ebc0b1 readme 3 years ago
ray-x f0199347f5 README.md update 3 years ago
ray-x 1e190d6a0e init commit 3 years ago