Commit Graph

96 Commits

Author SHA1 Message Date
ray-x
6008a754ef log file fs_write updates 2023-11-20 01:31:54 +11:00
ray-x
15bf9aea88 issue #384 a possible fix
As I do not have access to the error log, this is more a try my best guess and fix
2023-11-14 21:32:14 +11:00
ray-x
7b818ad49d improvements for windows cmd line 2023-11-08 17:03:33 +11:00
ray-x
c64281d7dc Log style 2023-11-07 20:07:30 +11:00
ray-x
1b3a56acdd Use async fs_write for logging 2023-11-07 19:44:17 +11:00
ray-x
b4cd53de46 inlay eol display issue #396 2023-11-07 12:19:48 +11:00
ray-x
1d720412aa issue #393 2023-11-02 00:40:15 +11:00
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