Commit Graph

825 Commits

Author SHA1 Message Date
Lanre Adelowo
44a32ebb4f
Use Uber maintained mockgen fork (#386)
* use updated and maintained version of mocking

* Update install.lua

* Update install.lua

* use canonical url
2023-10-09 23:28:09 +11:00
ray-x
6e5370ad00 #207 refactor keymaps 2023-10-09 14:13:10 +11:00
ray-x
f54fd80bd9 #207 remove confusing debug messages 2023-10-09 12:12:45 +11:00
thuan1412
54387e506e
improve GoTestSubCase command (#385)
* save code

* it works

* update tbl case query

* fix file diff

* update tests

---------

Co-authored-by: Thuấn Đỗ Hoàng <thuan.dh@teko.com>
2023-10-03 10:51:31 +11:00
Gonzalo Serrano
2f573a297b
Fix header in README.md (#383) 2023-09-30 12:39:51 +10:00
ray-x
0199367800 issue #372 Update GoTest argument parser 2023-09-22 20:56:38 +10:00
ray-x
a43a3cba1e issue #377 GoRun -a {arguments} 2023-09-22 20:32:02 +10:00
ray-x
dca79d6aad handle empty cmp hints 2023-09-22 18:10:01 +10:00
ray-x
0b04e4bdb4 Align with neovim diagnostic setup and deprecate settings. Update readme. 2023-09-22 17:23:43 +10:00
ray-x
5e9e083f49 neovim 0.9.2 2023-09-07 23:01:40 +10:00
ray-x
ba45846401 stylua 2023-09-07 18:21:15 +10:00
ray-x
94ae2b7666 go action version checker 2023-09-07 18:21:14 +10:00
rayx
c9acdf488d
Revert "Disable ts injections in import strings (#371)" (#373)
This reverts commit da108721c5.
2023-08-25 19:31:04 -07:00
Matthew Sykes
da108721c5
Disable ts injections in import strings (#371)
Import paths like 'database/sql' are string literals and activate the
SQL injection. Adding a #not-has-ancestor predicate for
import_declaration prevents this.
2023-08-25 18:33:37 -07:00
Mauricio Poppe
a370cb9327
Remove debugging print statement (#369) 2023-08-15 00:49:39 -07:00
ray-x
73cf272755 remove verbose debug info 2023-08-14 20:57:50 +10:00
rayx
c61f9371cd
Fix github pipeline. Make gopls fmt/import async (#366)
* fillstruct updates
* gopls async fmt/import
* github action fix
* add gopls tests
2023-08-08 17:04:43 -07:00
ray-x
44bd0589ad bump go version to 1.20 2023-08-08 13:11:24 +10:00
ray-x
101a3df3e1 stylua 2023-08-08 13:09:42 +10:00
ray-x
7e5602dd51 issue #362 remove deprecated functions 2023-07-27 12:35:59 +10:00
Manuel
816fbe43b5
fix: correct filetype assignments (#359)
Docs say that `*.gotext` should be recognized as `gotexttmpl` but that is not the case.

I also changed `*.tmpl` to `gotexttmpl` since that is how I use it - not certain if that would be acceptable to everyone though.
2023-07-25 00:02:12 -07:00
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
2023-07-07 00:01:19 -07:00
qasimwarraich
97b76f3188
change default lsp_diag_virtual_text prefix to nvim default (#353) 2023-06-21 04:42:03 -07:00
Howard Lince III
a8095eb334
adding support for *.gohtml files as per documentation. (#349) 2023-06-08 01:01:19 -07:00
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>
2023-05-31 07:19:21 -07:00
ray-x
9fc0312c1a bumpup minium neovim requirement to 0.9 2023-05-30 16:25:36 +10:00
Grzegorz Szczudlik
915d5a02b9
Update snips.lua (#344)
vim.treesitter.set_query is deprecated. Using vim.treesitter.query.set instead.
2023-05-29 22:55:39 -07:00
Manuel
711b3b84cf
fix(doc): add missing parameter documentation (#337)
Parameter `-p` was not documented for `:GoCoverage`
2023-05-24 08:35:54 +10:00
ray-x
43be71be21 Inline Inlay hint for nvim 0.10.x 2023-05-24 02:02:08 +10:00
ray-x
ed7e79b919 log disable for nulls 2023-05-23 20:41:31 +10:00
ray-x
1a2530d3e9 go test failed to locate test cases in windows 2023-05-20 20:26:33 +10:00
maru
b119217e83
fixed deprecated function (#333)
Co-authored-by: qwexvf <qw3xvf@gmail.com>
2023-05-08 04:27:02 -07: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
40684d1ee0 GoInstallBinary with cmp-cmdline #331 2023-05-06 19:54:51 +10:00
ray-x
80670b2332 typo health.lua 2023-04-24 11:08:35 +10:00
ray-x
8bb852ba15 nvim 0.9 health API updates 2023-04-24 11:06:54 +10:00
Yajie Zhu
e7e914cdc3
fix: GoTestFunc fileline jump issue (#327)
Co-authored-by: zhuyajie <930664@qq.com>
2023-04-21 21:09:05 +10:00
ray-x
37d226ca74 feature: [LSP] gopls default config support SemanticToken #321 2023-04-18 19:21:38 +10:00
Daniel Rivas
fcc88590e0
issue-323 fix: check valid tags before overwriting gopls buildFlags (#324) 2023-04-14 09:58:38 +10:00
ray-x
d7530aea0f issue #322 table.insert 2023-04-12 14:43:07 +10:00
ray-x
8398343f2e pipeline for nvim 0.9 2023-04-08 12:08:41 +10:00
ray-x
7302dc4a20 ts api updates issue #319 2023-04-04 21:55:20 +10:00
ray-x
09ef69a363 neovim 0.9 TS query API 2023-04-04 10:26:22 +10:00
ray-x
e49597d0d1 warn fix notify 2023-04-01 14:04:03 +11:00
ray-x
b114ccfac6 support sqlx functions in ts queries 2023-04-01 11:28:18 +11:00
Amaan Qureshi
f45b072606
feat: improve queries (#316)
* feat: improve queries

* chore: format files
2023-03-31 14:10:36 +11:00
ray-x
1be8ef7cdf bugfix null_ls go test 2023-03-30 10:12:50 +11:00
ray-x
636fe41c87 treesitter API changes 2023-03-29 21:47:42 +11:00
ray-x
c02634a835 adjust default mapping in lsp 2023-03-23 18:13:49 +11:00
ray-x
24803e04b8 injection updates
golangci nulls updates
2023-03-23 17:55:37 +11:00