Commit Graph

706 Commits

Author SHA1 Message Date
ray-x
37a4cfb1ad issue #35 config break sign 2021-10-23 20:26:11 +11:00
ray-x
94d4baac31 nvim 5.1 2021-10-11 21:57:41 +11:00
ray-x
f339373ed4 test udpate 2021-10-11 21:26:04 +11:00
ray-x
6385a1a53f lua format 2021-10-11 21:22:14 +11:00
Viktor Kojouharov
b09f8354bf
Make formatting sync during import (#32)
With sync formatting, the function can be used in BufWritePre without the buffer ending up modified the save.
2021-10-01 18:49:58 +10: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
54dea272d1 #31 expose bufnr to ts APIs 2021-09-19 09:58:04 +10:00
ray-x
8c3abfb9f2 go doc command with floating preview 2021-09-18 21:14:02 +10:00
ray-x
d6c4cf570a add % before special char to string match 2021-09-14 15:03:29 +10:00
ray-x
1988bf39ae LSP api changes https://github.com/neovim/neovim/pull/15504 2021-09-04 14:59:11 +10:00
ray-x
c9a07b85cb support lsp API changes neovim/pull/15504 2021-09-04 14:51:43 +10:00
ray-x
c984ce7757 update gotest it will output to buffer 2021-09-03 12:13:15 +10:00
ray-x
ee0d43ce5c merge github workflow and goimport fix 2021-09-03 03:18:46 +10:00
ray-x
8ea0ff1d3a commit 2021-09-03 03:14:04 +10:00
ray-x
5c5b102b93 arguments 2021-09-03 02:59:45 +10:00
ray-x
c67b1c8912 revert changes 2021-09-03 02:35:54 +10:00
ray-x
00a7405904 save file 2021-09-03 02:33:34 +10:00
ray-x
da9cd35645 gopls 2s 2021-09-03 02:25:54 +10:00
ray-x
d6f0249023 format 2021-09-03 02:21:31 +10:00
ray-x
b517d7a6b9 updates 2021-09-03 02:15:54 +10:00
ray-x
6cb17285ff save 2021-09-03 01:17:30 +10:00
ray-x
bdce678adf sequences 2021-09-03 01:11:09 +10:00
ray-x
af25e1e2e7 goimport cleanup 2021-09-02 22:27:40 +10:00
ray-x
6e6446c45f sequence 2021-09-02 21:35:54 +10:00
ray-x
eb74902ba9 sequence 2021-09-02 21:28:34 +10:00
ray-x
446f4e6b94 fix gofmt 2021-09-02 21:14:13 +10:00
ray-x
85b587fada gopls setup 2021-09-02 21:07:32 +10:00
ray-x
c6b391a303 format 2021-09-02 21:03:45 +10:00
ray-x
e4abbb80ea format 2021-09-02 21:02:01 +10:00
ray-x
82fc245d78 comment out 2021-09-02 21:00:28 +10:00
ray-x
cf8ca142e1 clean up 2021-09-02 20:59:20 +10:00
ray-x
79563afa49 go setup 2021-09-02 20:57:20 +10:00
ray-x
81c92c5362 merge master 2021-09-02 20:53:44 +10:00
ray-x
766fd37327 print errors 2021-09-02 20:48:58 +10:00
ray-x
8b3b744b5e gopls format 2021-09-02 20:42:22 +10:00
ray-x
d9e0a4be9f workflow fix 2021-09-02 20:34:57 +10:00
ray-x
c0771b93c8 test workflow 2021-09-02 20:21:41 +10:00
Viktor Kojouharov
22a0ac4e2b
Seems like a typo (#27) 2021-09-02 20:03:38 +10:00
ray-x
401e08e2b4 improve error message 2021-09-02 16:26:07 +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
2cf2a1b36c Dap debug: change workspaceFolder to relativeFileDirname 2021-08-30 16:37:36 +10:00
ray-x
cae9ad6a88 update test cases in github workflow 2021-08-26 10:33:17 +10:00
ray-x
b96cdefea3 Add go coverage 2021-08-26 01:42:31 +10:00
schwartx
7de6a600f2
using dlv no output fix (#25) 2021-08-25 22:37:22 +10:00
ray-x
28bbafeeb9 revert changes to golden file 2021-08-24 21:13:26 +10:00
ray-x
e53e689415 revert 2021-08-24 21:10:09 +10:00
ray-x
8db7f9af39 gopls test case 2021-08-24 21:05:14 +10:00
ray-x
21ee2891ef gopls still not working 2021-08-24 17:42:03 +10:00
ray-x
5a72a0ef31 lspconfig in spec test 2021-08-24 17:34:33 +10:00
ray-x
35f546fed1 test workflow 2021-08-24 17:10:04 +10:00
ray-x
1a44ff6956 add go.mod in tests 2021-08-24 16:15:17 +10:00
ray-x
c28fa04029 merge github action/workflow 2021-08-24 14:53:37 +10:00
ray-x
dfd801debc move print to error log 2021-08-23 16:36:30 +10:00
ray-x
025ed88af5 log not found 2021-08-23 13:55:27 +10:00
ray-x
989be3f213 update lspconfig setup; add sample vimrc, add codelens config 2021-08-23 12:24:48 +10:00
ray-x
1dce1155ed update highlight 2021-08-22 18:37:11 +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
ray-x
cdbdb743bc add util function 2021-08-17 09:59:21 +10:00
ray-x
7694511159 Merge and update for gopls & gopls import code action 2021-08-17 09:59:21 +10:00
ray-x
a3d29e5cbd bugfix for gopls: goimport check code action type 2021-08-17 09:59:21 +10:00
Ryder
ab0b8c5b2c
fix: deprecated dap.stop (#22) 2021-08-14 19:18:08 +10:00
Ryder
49c0a4280e
fix: max_line_line typo (#21) 2021-08-14 10:27:55 +10:00
ray-x
9df90c86d5 ignore error messages when unmap keybind for DAP 2021-08-12 09:52:22 +10:00
ray-x
3237744c92 update gomodifytag command arguments 2021-08-11 23:08:55 +10:00
ray-x
018de85e7f add gopls cmd path 2021-07-26 10:35:58 +10:00
ray-x
541b234343 issue #16 add -line to gomodifytag, suggested by @AllenDang 2021-07-17 20:11:01 +10:00
ray-x
a093d2420b cursor range col/row calculate 2021-07-17 01:58:44 +10:00
ray-x
e7a7e95c85 Bugfix issue #15 GoRun 2021-07-17 00:37:41 +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
76c950b01a update iferr 2021-07-15 01:01:09 +10:00
ray-x
b499269a9d Fix: unmap key, command 2021-07-15 00:15:15 +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
87fcb47470 update lsp setup and document 2021-07-12 14:25:07 +10:00
ray-x
786a9c67ad rename lsp format to gopls format 2021-07-11 21:52:39 +10:00
ray-x
d8fc9cbe1e rename lsp_enable to lsp_cfg 2021-07-11 21:50:09 +10:00
ray-x
a1dc56973d Add options allows goimport and gofmt with lsp. Add options for go.nvim gopls config be loaded 2021-07-11 21:33:22 +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
de17b1154f add dap.lua for keybind and default setup 2021-07-10 21:06:10 +10:00
ray-x
9d170d4954 Dap support 2021-07-10 21:04:24 +10:00
ray-x
5e37dc67e9 allow specify path of test 2021-07-09 02:52:06 +10:00
ray-x
1bdf18bfc2 Add log to file. Fix gotest_fun 2021-07-09 02:16:22 +10:00
Crows
6d41723098
fix require('go.util') error (#7) 2021-07-07 15:56:22 +10:00
Crows
ba4156a5b8
Fix format error on macOS (#6) 2021-07-07 15:10:06 +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
6ac8755142 merge remote changes 2021-06-22 10:11:26 +10:00
ray-x
f9e75eda64 Update GoAddTests and allow vim command override 2021-06-22 10:07:46 +10:00
Viktor Kojouharov
95fe379935
Fix the Gfswitch command to call the right function 2021-05-16 20:21:12 +03:00
ray-x
ec8177edb3 go format should remove old lines at the end 2021-05-07 15:15:02 +10:00
ray-x
0a86f87cff add iferr and fillstruct 2021-04-23 16:31:00 +10:00
ray-x
f79d55d971 update rename output 2021-04-23 14:41:21 +10:00
ray-x
7b285a3600 Add gorename 2021-04-21 21:11:44 +10:00
ray-x
5f4c67bc68 remove print statement 2021-04-19 16:12:37 +10:00
ray-x
b1ebb39543 add asyncmake 2021-04-19 16:10:06 +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
7d0d1196d7 GoTest 2021-03-11 09:21:24 +11:00
ray-x
cede232c6b GoBuild quickfix 2021-03-11 08:35:30 +11:00
ray-x
f4b359a2c7 fix nil 2021-03-11 07:07:31 +11:00
ray-x
1e190d6a0e init commit 2021-03-10 23:15:06 +11:00