Commit Graph

157 Commits (c4819d1625c59747d4a6c3de8c86e62bc2ca84ab)

Author SHA1 Message Date
rayx c4819d1625
CLI refact (#391)
* some refact of gotest

* issue #376 add handlers to async formatting

* issue #343 title length

* add parallel flag

* disable trace log

* Error lines output in github action

* Go mod update in fixtures
8 months ago
ray-x 668875294d issue #389 handler for diagnostic is incorrect 8 months ago
ray-x 0a508516f1 breaking: issue #375 diagnostics.hdlr=false by default as complains about the qickfix when file saved \n the feature need to turn on manually 8 months ago
ray-x 0b04e4bdb4 Align with neovim diagnostic setup and deprecate settings. Update readme. 9 months ago
aceforeverd 6550ddf5ce
fix(ui): replace obsolete nerd fonts from ui (#357)
nerdfont >= 3.0.0 dropped class name `nf-mdi-*`, replacing with new
class name `nf-md-*`.
The new class name exists since nerdfont 2.3.0 so user with nerdfont >=
2.3.0 installed should be fine.
Refer https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.0
11 months ago
qasimwarraich 97b76f3188
change default `lsp_diag_virtual_text` prefix to nvim default (#353) 1 year ago
Krystian Kulgawczuk 8a0498ee48
New global variable for vertical cursor shift on GoIfErr (#347)
New variable will allow to customize exactly where cursor will end
up and allow user to set this exactly how they wish.

This change is backwards compatible as the default is the same
as was the hardcoded value.

Signed-off-by: Krystian Kulgawczuk <29754364+krystian-kulgawczuk@users.noreply.github.com>
1 year ago
ray-x 9fc0312c1a bumpup minium neovim requirement to 0.9 1 year ago
ray-x 8bb852ba15 nvim 0.9 health API updates 1 year ago
ray-x 2ed66cb302 Allow on_stdout/exit/stderr hooks so the jobs can be pipelined 1 year ago
ray-x 4f3d09f0a3 use vim.log.levels instead of vim.lsp.log_levels 1 year ago
ray-x 9d0cc3f610 github action 1 year ago
ray-x 1b3d21a184 issue #287 lsp not loaded 1 year ago
ray-x cfa108913f revert go.lua changes for defer 1 year ago
ray-x 1abff83944 update logs and setup 1 year ago
xiwang edadc285c3
fix spelling mistakes (#285) 1 year ago
ray-x 470349cff5 lazy.nvim based lazy loading 1 year ago
ray-x ae666827cf float position issue #257 1 year ago
ray-x 106ec4de3d issue #269 dap-ui setup config 1 year ago
ray-x 6ff9cbad4c check go ts parser 1 year ago
ray-x b53dfd4fdb dap options for time out issue #263 🎄🎆 1 year ago
ray-x 17adc5c600 [feature] go coverage partially tested, skip covered 🎄🎆 1 year ago
ray-x c61d2f447b verbose mode in gotest no longer default, use '-v' instead 🇯🇵 2 years ago
Shaw Vrana 4599360f5d
Add ability to set gomodifytag options in config (#246) 2 years ago
ray-x 79c79c4872 autocmd for mod on_save 2 years ago
ray-x d34868d2fa testrunner default 2 years ago
ray-x 25f844684b allow gotestsum in watch mode 2 years ago
Patrick Artounian 0e3a10f595
allow for user to toggle lsp_diag underline (#221)
Co-authored-by: Patrick Artounian <patrick.artounian@insomniac.com>
2 years ago
ray-x d5e5a65c03 moving from vim script to lua scripts (autocmd, highlight) 2 years ago
ray-x 7fea49e79f rename from gocoverage_sign_priority to sign_priority 2 years ago
ray-x 4c1ee0ddeb update default priority of sign 2 years ago
ray-x 93c724d6b0 issue #184 trouble 2 years ago
ray-x 144eb6fb2a issue #182 setup merge 2 years ago
ray-x 3774ac0eba lint 2 years ago
ray-x f334b05d0c issue #173 minimal defaults 2 years ago
ray-x c8d02a9d6a inlay hints #172 2 years ago
ray-x f0732425f9 more snips, e.g. uuid, random words/strings etc 2 years ago
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
2 years ago
ray-x a4026941d0 issue #161 allow project setup to be disabled 2 years ago
ray-x ab8a075aa4 add efm only mode for testing when floating term is off 2 years ago
ray-x a86e9d2a29 Feature: add go mock / mockgen 2 years ago
ray-x a2d0bbee53 bugfix #153, update doc 2 years ago
ray-x 84ac01df53 Feature: show keybindings for debug session 2 years ago
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
2 years ago
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>
2 years ago
Lukas 10264d6904
fix(setup): getenv vim.NIL check (#148)
* fix(setup): handle gobin env nil

Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>

* fix(setup): use vim.NIL

Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>

* return if GOBIN not present

Co-authored-by: rayx <rayx.cn@gmail.com>
2 years ago
ray-x 36a33ad5b0 #146 better fallback if test runner is non-default and not installed 2 years ago
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
2 years ago
ray-x d3d278d58a doc update 2 years ago
ray-x 296fc66941 typo 2 years ago