Commit Graph

371 Commits

Author SHA1 Message Date
ray-x
a1554e632b rename filetype.vim 2022-04-21 02:27:15 +10:00
ray-x
edd8240d7f go.sum file type 2022-04-21 00:43:35 +10:00
ray-x
7ee9bbd870 Doc update 2022-04-20 21:24:21 +10:00
ray-x
7ca5ad805b allow lsp_keymaps to be a function 2022-04-20 21:24:07 +10:00
ray-x
272d11d622 issue #104 allow user disable key mapping in lsp attach 2022-04-20 21:16:09 +10:00
ray-x
c8c63fb9a1 handle stderr output 2022-04-20 12:00:49 +10:00
ray-x
5d53132e52 updates for 0.5.1 2022-04-19 00:51:12 +10:00
ray-x
ecf5725a38 remove neovim 0.5.x from pipeline 2022-04-19 00:49:31 +10:00
ray-x
72e8a82ebd neovim 0.5.x treesitter 2022-04-19 00:46:54 +10:00
ray-x
9b9744a341 bug fix for neovim 0.6.1 2022-04-19 00:38:13 +10:00
ray-x
7320a536d7 update ts nodes 2022-04-19 00:28:13 +10:00
ray-x
f4c07bb5d6 deprecate get_node_text 2022-04-19 00:22:08 +10:00
ray-x
b71f814e20 update lint 2022-04-19 00:13:51 +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
Nicolas Barbosa
63d81679d0
fix: remove cover file (#107)
* fix: remove cover file

* fix: coverage notify message
2022-04-08 00:37:12 +10:00
ray-x
ad8c1be169 update sample go app 2022-03-30 15:45:28 +11:00
ray-x
e92dbf7131 add relFileDir in launch.json 2022-03-30 15:44:33 +11:00
ray-x
dbfde6ea1b fix double close when end dap session 2022-03-30 15:44:33 +11:00
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.
2022-03-24 14:10:45 +11:00
ray-x
058e748409 allow GoRun to run inside a terminal 2022-03-23 13:40:15 +11:00
ray-x
425b81dbd8 Add sample init.lua for go.nvim 2022-03-23 13:27:58 +11:00
ray-x
bed2b6818c issue #82 allow close terminal in current buffer 2022-03-23 13:13:35 +11:00
Prescott Murphy
db7ecb86a6
Fix typo in rename.lua (#99) 2022-03-20 10:26:54 +11:00
ray-x
ef32d8914b allow multipls arguments for go mod 2022-03-17 00:05:07 +11:00
ray-x
8c5d95b3ff bugfix issue #96 2022-03-16 23:54:06 +11:00
ray-x
7b4f7620f7 failure message should not show 2022-03-16 10:55:22 +11:00
ray-x
07eb632cba update neovim pipeline from 0.6 to 0.6.1 2022-03-15 10:24:44 +11:00
ray-x
3043e9bf04 gotest bench 2022-03-15 10:16:34 +11:00
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.
2022-03-14 17:18:31 +11: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
0fe0a9ee33 feature: auto jump to quickfix list item if test failed 2022-02-23 21:01:19 +11:00
ray-x
f355905c00 bqf friendly qickfix output for testing 2022-02-23 16:36:13 +11:00
ray-x
1bc6249495 feature: in quickfix, shows full path name instead of name only. That allows jump to the failed location 2022-02-23 16:28:21 +11:00
ray-x
4c66365aa2 Add GoModeTidy and GoModeVendor 2022-02-22 09:46:59 +11:00
ray-x
630a813360 remove tagSupport, it is not supported by gopls 2022-02-21 15:43:55 +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
d98d4e9eda better error message for dlv; dlv attach mode 2022-02-14 15:59:31 +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
4e3b2b1971 bugfix #81 2022-01-31 21:40:40 +11:00
ray-x
f599a5e2cc gopls cmd fallback 2022-01-31 17:28:53 +11:00
ray-x
ce29866640 lsp installer path setup for version check 2022-01-31 17:25:53 +11:00
ray-x
180e44ac07 handle nil 2022-01-30 16:02:18 +11:00
ray-x
a853613467 use -1 for random port 2022-01-30 15:57:56 +11:00