Commit Graph

247 Commits (ec99df209828a6b2a49215b8e988151a17e395e6)

Author SHA1 Message Date
ray-x 54df0e9994 fixplurals 3 years ago
ray-x 69d4085638 update options name to floaterm 3 years ago
ray-x 8cc8337343 Merge branch 'master' into serverCapcities 3 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 cf3915c331 neovim breaking changes https://github.com/neovim/neovim/pull/17814 3 years ago
ray-x 9143b3a4b9 bugfix issue #114 3 years ago
ray-x 08b36ea9e6 gopls version check issue #114 3 years ago
ray-x 88a846b3e1 issue #113 check lsp code lens 3 years ago
ray-x 1875416553 codelens message 3 years ago
ray-x 65b3c19709 issue #110 use releative path to handle symbolic link 3 years ago
ray-x 1fabdb4fd9 issue #111 fixpurals 3 years ago
ray-x c7bf2f59c6 issue #108 3 years ago
ray-x 4b1eea8b90 issue #90 remove lsp codelens check 3 years ago
ray-x 49b311aff2 issue #83 disable notify 3 years ago
ray-x edd8240d7f go.sum file type 3 years ago
ray-x 7ca5ad805b allow lsp_keymaps to be a function 3 years ago
ray-x 272d11d622 issue #104 allow user disable key mapping in lsp attach 3 years ago
ray-x c8c63fb9a1 handle stderr output 3 years ago
ray-x 5d53132e52 updates for 0.5.1 3 years ago
ray-x 72e8a82ebd neovim 0.5.x treesitter 3 years ago
ray-x 9b9744a341 bug fix for neovim 0.6.1 3 years ago
ray-x 7320a536d7 update ts nodes 3 years ago
ray-x f4c07bb5d6 deprecate get_node_text 3 years ago
ray-x b71f814e20 update lint 3 years ago
ray-x df512d695f issue #94 GoImport autocomplete 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
Nicolas Barbosa 63d81679d0
fix: remove cover file (#107)
* fix: remove cover file

* fix: coverage notify message
3 years ago
ray-x dbfde6ea1b fix double close when end dap session 3 years ago
Mochammad Hanif R f5aa4a7046
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.
3 years ago
ray-x 058e748409 allow GoRun to run inside a terminal 3 years ago
ray-x bed2b6818c issue #82 allow close terminal in current buffer 3 years ago
Prescott Murphy db7ecb86a6
Fix typo in rename.lua (#99) 3 years ago
ray-x ef32d8914b allow multipls arguments for go mod 3 years ago
ray-x 8c5d95b3ff bugfix issue #96 3 years ago
ray-x 7b4f7620f7 failure message should not show 3 years ago
ray-x 3043e9bf04 gotest bench 3 years ago
Prescott Murphy 82d796a01f
Handle literal "go" in path for GoAlt command (#93)
The original logic fails if you have go in your path, like: `/Code/mygoproject/myfile.go` because the split will have more than two elements.
3 years ago
ray-x ed3dfb85b2 Breaking changes for GoDebug, deprecate old argument and using linux style command line arguments 3 years ago
ray-x 0fe0a9ee33 feature: auto jump to quickfix list item if test failed 3 years ago
ray-x f355905c00 bqf friendly qickfix output for testing 3 years ago
ray-x 1bc6249495 feature: in quickfix, shows full path name instead of name only. That allows jump to the failed location 3 years ago
ray-x 4c66365aa2 Add GoModeTidy and GoModeVendor 3 years ago
ray-x 630a813360 remove tagSupport, it is not supported by gopls 3 years ago
ray-x d8638ab9c8 issue#88 cmp setup. set it as default 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 3e905d07ac health check for treesitter-go parser issue#86 3 years ago
ray-x c9359bb14d Allow lsp diagnostic setup passed from outside 3 years ago
ray-x d98d4e9eda better error message for dlv; dlv attach mode 3 years ago
ray-x f5c029e5fa Update GoGet. if cursor current line is a valid pkg url, will auto fill it to go get argument 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 4e3b2b1971 bugfix #81 3 years ago
ray-x f599a5e2cc gopls cmd fallback 3 years ago
ray-x ce29866640 lsp installer path setup for version check 3 years ago
ray-x 180e44ac07 handle nil 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.xu 4c54762e63 gopls vesion can be very slow, change to jobstart 3 years ago
ray.xu f2b227d3e2 telescope codeaction loader 3 years ago
Craig Rodrigues 0f1740ed23
Fix URL for gotests for GoInstallBinaries (#79) 3 years ago
ray.xu 50a9fe57ec textobject breaking changes https://github.com/nvim-treesitter/nvim-treesitter-textobjects/issues/169 3 years ago
ray.xu 2a2c5f4cd8 open qf only when on error 3 years ago
ray-x 532f7256b1 issue #71, change warn/info/error to notify 3 years ago
Aleš Brelih 3c44e3a998
fix: test file function (#78)
Test file function wasn't working anymore. It didn't find functions to
test even though the sed found them.

Problem was in the escaping the pipe sign.

Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
3 years ago
Aleš Brelih d369ef454d
fix: test fun defaults (#77)
The default package parameter for TestFun is not needed because this
function is meant to target the current file only. Using the default
package parameter increased run time of time function drastically.

Co-authored-by: Ales Brelih <ales.brelih@3fs.si>
3 years ago
ray-x b1271d5e6a issue #71 packer loader failed to load plugins 3 years ago
ray-x 99cc459eed cleanup asyncmake 3 years ago
ray-x a191de4920 issue #76 better qf 3 years ago
ray-x cd395e96fb setup option to disable gopls doc format 3 years ago
ray-x 22fe0379de check dap module before disconnect dap 3 years ago
ray-x cad485661b offset encoding 3 years ago
ray-x e5ebbd9460 Add GoTest -c option, compile test package issue#76 3 years ago
ray-x 0d5f1c9f31 add health.lua 3 years ago
ray-x 2869c5b8fc Add support for vscode launch.json. Allow launch debugger from config in .vscode/launch.json 3 years ago
ray-x 85f2300e72 issue #75, better default package path for tests 3 years ago
ray-x ff9a34bffb issue #71 session and restart for the debugger 3 years ago
ray-x ca1d46b4ab prevent re-launch dap 3 years ago
ray-x 29960fe775 ANSI color remove for quickfix 3 years ago
ray-x 0493df8b44 go 1.18beta 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 bd25255d03 fallback to package test, argument and notify 3 years ago
ray-x 310339cbc5 floatterm width ceiling 3 years ago
ray-x 88ef38d88b issue #68 golangci-lint handle error message 3 years ago
ray-x 264efc57c1 issue #65 failed to run coverage tests. Notify updates. 3 years ago
ray-x 192486892b bugfix #65 coverage failed 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
ray-x 4c0a400956 update on_attach no longer support bool 3 years ago
ray-x 3fe0c3eded gopls filetypes update 3 years ago
Craig Rodrigues d18ac7460a
Add gopls to GoInstallBinaries/GoUpdateBinaries (#60) 3 years ago
ray-x 6d6b3afc3b add gotexttmpl and gohtmltmpl support for gopls 3 years ago
ray-x 14ad56d297 cleanup logs 3 years ago
ray-x 9be4a230fe typo :( 3 years ago
ray-x 3fe53eaf13 use latest version of codelens api, allow to hook guihua.lua 3 years ago
ray-x db819954d3 Add GoCodeAction, GUI with guihua.lua and vim.ui.select() 3 years ago
ray-x 124d2e269c dap_debug_keymap missing issue #57 3 years ago
ray-x c7c3ab885a better workfolder 3 years ago
ray-x 47866b4847 some cleanup and use list instead of string for jobsstart 3 years ago
ray-x 4484f167d6 bugfix #56 escape '<space>' and '-' 3 years ago