Commit Graph

89 Commits

Author SHA1 Message Date
ray-x
1a2530d3e9 go test failed to locate test cases in windows 2023-05-20 20:26:33 +10:00
Faustin Date
8ea5439288
Ensure correct tools installation in goenv mode (#332)
* Ensure correct tools installation in goenv mode

Tools will be installed in appropriated directory when
[goenv](https://github.com/syndbg/goenv) manages
GOPATH.

* Check goenv existence with which

* Try better (?) goenv detection command

* Do not check if tool is installed twice

Once a tool is known to be installed, that information is cached in
utils.installed_tools.

* Wait 500ms for action to take effect in tests
2023-05-07 18:59:30 -07:00
ray-x
7302dc4a20 ts api updates issue #319 2023-04-04 21:55:20 +10:00
ray-x
e49597d0d1 warn fix notify 2023-04-01 14:04:03 +11:00
ray-x
4ddd66affd remove logs 2023-03-18 20:48:28 +11:00
ray-x
47666f920f [Fix] goget fix for pkgname+URL
[Feat] ginkgo cmds
2023-03-18 20:46:44 +11:00
ray-x
55fe49fcaf issue #313 new file with template file 2023-03-14 23:01:56 +11:00
ray-x
7d7b081bf3 GoDoc argument handling
loclist 'r' options
Readme Updates
2023-02-28 20:53:47 +11:00
ray-x
b7f7110d01 performance for null-ls cache path detection
async call inside null-ls
bugfix fish/bash/zsh GoTestFile
2023-02-19 15:50:27 +11:00
ray-x
b9f161c18e null-ls source: golangci-lint and gotest is async now
gomvp minor fix
command auto complete
2023-02-17 21:54:44 +11:00
ray-x
4f3d09f0a3 use vim.log.levels instead of vim.lsp.log_levels 2023-02-16 07:37:10 +11:00
ray-x
470349cff5 lazy.nvim based lazy loading 2023-02-08 20:56:26 +11:00
ray-x
10349e1e43 issue #281 incorrect file path 2023-02-02 08:53:54 +11:00
djdv
6bdda64546
utils.lua remove debugging expression (#277) 2023-01-28 11:00:04 +11:00
ray-x
ab678d7f42 error format for panic in null-ls go tests 2023-01-27 15:06:32 +11:00
ray-x
adc24af96c remove depencies #273 2023-01-19 12:26:14 +11:00
ray-x
7e6fe7a062 [feature] null-ls message redirect to quickfix 2023-01-15 20:24:48 +11:00
ray-x
5b33d782f3 GoTestSum and sidepanel 2022-10-01 14:53:27 +10:00
Yajie Zhu
e75d4ab725
fix: lsp restart logic (#222)
* fix: GoGet fail

* fix: lsp restart logic

Co-authored-by: zhuyajie <930664@qq.com>
2022-09-29 14:28:22 +10:00
Yajie Zhu
d94f5df507
fix: GoGet fail (#217)
Co-authored-by: zhuyajie <930664@qq.com>
2022-09-17 11:08:16 +10:00
ray-x
c3dd9e3ee8 smart build tags 2022-08-06 21:11:12 +10:00
ray-x
ce73ef43f0 cleanup ts logs; utils get build tags renaming 2022-08-06 12:54:32 +10:00
ray-x
ddbb30a38e remove log messages 2022-08-06 12:18:53 +10:00
ray-x
c94c488307 automatically add build tags to gopls. handle "// go:build tagxxx" 2022-08-06 10:49:09 +10:00
ray-x
93c724d6b0 issue #184 trouble 2022-07-30 23:05:27 +10:00
ray-x
7c62c7c27a add windows exe extension #179 2022-07-28 02:22:38 +10:00
ray-x
3bdd56b1c0 issue #179 windows 11 2022-07-27 14:50:39 +10:00
ray-x
3774ac0eba lint 2022-07-27 02:21:58 +10:00
ray-x
e5c7d643b1 gosnips return default, similar to fillreturns by gopls 2022-07-26 12:39:41 +10:00
ray-x
f0732425f9 more snips, e.g. uuid, random words/strings etc 2022-07-17 21:33:29 +10:00
rayx
104b832ee4
Luasnip (#165)
First commit for luasnip
Most of the snip code is from this repo shark
and TJ's neovim setup config_manager
and ziontee113

* add luasnip for go

* move command out to a dedicated function

* update ts node spec format

* bugfix alternate file

* Bring in more snippets

* updates for mockery 2.11

* snips for http handler and more

* update doc

* bench test
2022-07-11 23:32:06 +10:00
ray-x
300836a9cb go impl: allow omit interface and use treesitter to find a interface name and package name 2022-07-07 03:57:26 +10:00
ray-x
a86e9d2a29 Feature: add go mock / mockgen 2022-07-06 08:28:29 +10:00
ray-x
981adf9b39 Features:
1) count the overall test coverage per-file and per-project
2) add gotestsum as a test runner option
3) handle windows GOPATH and
4) minor fix: stop GoFmt if no formatter is available
2022-07-01 19:15:31 +10:00
rayx
5504f55b4f
[Feature]Package info side panel (#140)
New feature.
It shows all public symbols inside a go package with a side panel.

Also refer https://github.com/golang/go/issues/37237 for some workaround

* add side_panel for go package

* Add command GoPkgInfo

* multi lines hint

* allow refresh when buffer write happed

* remove node of receiver

* update treesitter queries for better panel display

* variadic args
2022-06-27 08:12:49 +10:00
ray-x
755e5816f0 guru support 2022-06-18 15:43:07 +10:00
ray-x
040c7bd110 Update document
Smart build tags detection
2022-06-15 14:11:10 +10:00
ray-x
ccaed8c573 cli improvement for gomodifytags, gotest 2022-06-03 19:07:05 +10:00
ray-x
30d30f407a fix diagnostic warnings for all files 2022-06-01 21:29:13 +10:00
ray-x
56143544d7 revert escape changes, it breaks floaterm run 2022-05-31 02:41:48 +10:00
ray-x
ad84a0806c update GoTest adding more flags 2022-05-31 00:04:52 +10:00
ray-x
eb4d380807 allow format all buffers with goimports 2022-05-26 15:07:14 +10:00
ray-x
8d1c468901 github action 2022-05-24 21:17:55 +10:00
ray-x
8103d462c5 github action fix 2022-05-24 21:14:40 +10:00
ray-x
7b5c408b88 github action failure fix 2022-05-24 20:58:54 +10:00
ray-x
125d6fa3d3 better test coverage for gotest 2022-05-24 17:54:52 +10:00
ray-x
128d2c14f3 Merge branch 'master' into serverCapcities 2022-05-14 01:08:28 +10:00
ray-x
14f298af92 Merge branch 'boilerplate' 2022-05-14 01:08:04 +10:00
ray-x
e77920422e Merge branch 'master' into serverCapcities 2022-05-13 20:58:27 +10:00
ray-x
1c727c8768 ts keybinding update 2022-05-13 20:54:47 +10:00