Commit Graph

44 Commits

Author SHA1 Message Date
ray-x
1315ed89ad add tests for asyncmake 2022-07-08 08:30:46 +10:00
ray-x
ab8a075aa4 add efm only mode for testing when floating term is off 2022-07-08 02:34:50 +10:00
ray-x
fcc473b1ec GoImpl autocomplete from treesitter symbols 2022-07-08 01:27:30 +10:00
David Brouwer
6e7410452f
Fix empty string and GoRun -F main module (#147)
* fix: append check if val is nil
Add check to see if value is empty. And don't add to path if already in
path.

Signed-off-by: Davincible <david.brouwer.99@gmail.com>

* feat: auto run main module in floating term
Add check to see if floating term, to auto run main file

Signed-off-by: Davincible <david.brouwer.99@gmail.com>

* Update asyncmake.lua

no need to show a notification as there is another one once the program is finished.

Co-authored-by: rayx <rayx.cn@gmail.com>
2022-07-01 08:26:14 +10:00
ray-x
36a33ad5b0 #146 better fallback if test runner is non-default and not installed 2022-07-01 02:44:39 +10:00
ray-x
3f8551cc11 issue #141 the result of shell command should be checked before proccess
the output
2022-06-28 14:36:30 +10:00
ray-x
040c7bd110 Update document
Smart build tags detection
2022-06-15 14:11:10 +10:00
ray-x
30d30f407a fix diagnostic warnings for all files 2022-06-01 21:29:13 +10:00
ray-x
f5f5c41165 fix typo 2022-05-31 16:16:09 +10:00
ray-x
56143544d7 revert escape changes, it breaks floaterm run 2022-05-31 02:41:48 +10:00
ray-x
0cc455457c notify level based on test result 2022-05-31 00:32:26 +10:00
ray-x
ad84a0806c update GoTest adding more flags 2022-05-31 00:04:52 +10:00
ray-x
002d7dfd73 infer the test func name with treesitter 2022-05-29 23:07:39 +10:00
ray-x
e09a3ebe23 error handle for exit code from go build and allow chtsh get query from current word 2022-05-27 11:39:29 +10:00
ray-x
58dd76bf90 remove trace func 2022-05-25 16:06:36 +10:00
ray-x
323cfae1fa add tests for go test 2022-05-24 17:23:53 +10:00
ray-x
e3504bc50f allow gorun in float terminal 2022-05-17 11:34:35 +10:00
ray-x
058e748409 allow GoRun to run inside a terminal 2022-03-23 13:40:15 +11:00
ray-x
7b4f7620f7 failure message should not show 2022-03-16 10:55:22 +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
edbd796ded Add GoStop command to stop the background task started with GoRun 2022-02-02 17:37:07 +11:00
ray.xu
2a2c5f4cd8 open qf only when on error 2022-01-20 03:27:03 +11:00
ray-x
99cc459eed cleanup asyncmake 2022-01-17 17:48:16 +11:00
ray-x
a191de4920 issue #76 better qf 2022-01-17 17:33:00 +11:00
ray-x
85f2300e72 issue #75, better default package path for tests 2022-01-14 14:35:23 +11:00
ray-x
29960fe775 ANSI color remove for quickfix 2022-01-12 15:57:30 +11:00
ray-x
88ef38d88b issue #68 golangci-lint handle error message 2022-01-07 10:29:51 +11:00
Craig Rodrigues
483b56f4a2
Replace print() with vim.notify() (#64) 2021-12-22 14:34:10 +11:00
ray-x
14ad56d297 cleanup logs 2021-12-17 17:04:29 +11:00
ray-x
c7c3ab885a better workfolder 2021-12-16 18:15:21 +11:00
ray-x
47866b4847 some cleanup and use list instead of string for jobsstart 2021-12-16 17:46:52 +11:00
ray-x
64460e4f88 Add GoVet, update errorformat for issue #55 2021-12-15 19:02:22 +11:00
ray-x
45348a8c83 bugfix #54 quickfix position 2021-12-15 03:59:14 +11:00
ray-x
1aab3bcea0 add go.txt 2021-12-11 14:56:08 +11:00
ray-x
6574dd2e6b add textobject default setup, doc updates 2021-12-11 14:44:15 +11:00
ray-x
6e87d834a4 efm format for quickfix; golangci-lint efm setup 2021-12-10 21:13:23 +11:00
ray-x
8712f31898 golangci-lint quickfix 2021-12-10 11:44:08 +11:00
ray-x
ec91d9915f Add command autocomplete 2021-11-13 14:29:42 +11:00
ray-x
c984ce7757 update gotest it will output to buffer 2021-09-03 12:13:15 +10:00
ray-x
e7a7e95c85 Bugfix issue #15 GoRun 2021-07-17 00:37:41 +10:00
ray-x
1bdf18bfc2 Add log to file. Fix gotest_fun 2021-07-09 02:16:22 +10:00
ray-x
b1ebb39543 add asyncmake 2021-04-19 16:10:06 +10:00