Commit Graph

55 Commits (master)

Author SHA1 Message Date
ray-x 591a0b8374 Breaking: update ts schema and it require treesitter and go parser
updates
2 months ago
ray-x a3ce5016f5 remove typecheck from golanci-lint as gopls should cover it. also when run in single file mode it has lots of false positive 2 months ago
ray-x 3ff58b0741 gopls noSemanticString option 3 months ago
ray-x d217a74fa8 move fillstruct to gopls only 3 months ago
ray-x 096f656920 stylua 4 months ago
Allen Horine 41c126718a
Updates to treesitter queries to support upstream changes (#425)
* Adjusted local.scm queries to fix crashes when using treesitter post-v0.9.2

* Accounted for 'local' subtable in treesitter matches when querying locals
4 months ago
ray-x 24d2fa373d issue #411 update TS struct definition 5 months ago
ray-x ae6a1025f9 README updates; log cleanup 6 months ago
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>
8 months ago
ray-x 7302dc4a20 ts api updates issue #319 1 year ago
ray-x 09ef69a363 neovim 0.9 TS query API 1 year ago
ray-x c0b676f9cb issue #306 auto complete local struct/interface 1 year ago
ray-x 750b5e5603 issue #298 extra debug log info 1 year ago
xiwang 11b5661e6c
fix: rename ts_utils.get_node_range -> vim.treesitter.get_node_range (#298) 1 year ago
ray-x 4f3d09f0a3 use vim.log.levels instead of vim.lsp.log_levels 1 year ago
ray-x c74af231c7 treesitter cache 1 year ago
ray-x b9d9d6ad91 timing 1 year ago
ray-x c1817f643c cache the ts nodes based on file time; null_ls timeout 1 year ago
ray-x f33866ed00 Feature: run & debug a subtest inside table driven test cases 1 year ago
ray-x 32b4c162f0 gomvp support #176 2 years ago
ray-x 28bcaa1f44 quick gen return #170 2 years ago
ray-x ce73ef43f0 cleanup ts logs; utils get build tags renaming 2 years ago
rayx 0e8cc90e30
Bugfix #160 (#167)
* snips

* update ts node spec format

* luasnip up and running

* bugfix alternate file

* Bring in more snippets

* updates for mockery 2.11

* snips for http handler and more

* update doc

* bench test

* for snips

* update treesitter query and api

* refact get_xxx_at_cursor

* update test spec

* update row to vim range

* update col number

* remove comments

* merge conflicts
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 c7fa2fe5fc tuning treesitter type def 2 years ago
ray-x 607ed738e5 improve treesitter query 2 years ago
ray-x d1384cf2c0 revert changes break github actions 2 years ago
ray-x ab8a075aa4 add efm only mode for testing when floating term is off 2 years ago
ray-x fcc473b1ec GoImpl autocomplete from treesitter symbols 2 years ago
ray-x 300836a9cb go impl: allow omit interface and use treesitter to find a interface name and package name 2 years ago
ray-x 31624e1365 treesitter node for struct and type 2 years ago
ray-x 8021f2a484 fix test automation 2 years ago
ray-x e84d3ab545 improve #155 allow GoImpl fallback if struct type def not found 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 099790c988 go lint 2 years ago
ray-x ad84a0806c update GoTest adding more flags 2 years ago
ray-x 86720cae95 update ts keybindings 2 years ago
ray-x 5d53132e52 updates for 0.5.1 2 years ago
ray-x 72e8a82ebd neovim 0.5.x treesitter 2 years ago
ray-x 9b9744a341 bug fix for neovim 0.6.1 2 years ago
ray-x 7320a536d7 update ts nodes 2 years ago
ray-x b71f814e20 update lint 2 years ago
ray-x df512d695f issue #94 GoImport autocomplete 2 years ago
ray.xu 50a9fe57ec textobject breaking changes https://github.com/nvim-treesitter/nvim-treesitter-textobjects/issues/169 2 years ago
Craig Rodrigues 483b56f4a2
Replace print() with vim.notify() (#64) 2 years ago
ray-x 1aab3bcea0 add go.txt 3 years ago
ray-x 6574dd2e6b add textobject default setup, doc updates 3 years ago
ray-x f59422008a Add warn messages 3 years ago
ray-x 54dea272d1 #31 expose bufnr to ts APIs 3 years ago
ray-x 401e08e2b4 improve error message 3 years ago